================
@@ -453,6 +454,61 @@ TEST_F(SourceManagerTest,
loadedSLocEntryIsInTheSameTranslationUnit) {
#if defined(LLVM_ON_UNIX)
+TEST_F(SourceManagerTest, ResetsIncludeLocMap) {
----------------
ilya-biryukov wrote:
Suggestion: add a comment explaining what this aims to test at a more detailed
level. Something like:
```cpp
// Check we clear include loc caches when resetting the source manager.
```
https://github.com/llvm/llvm-project/pull/106241
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits