[clang] [clang] Cleanup IncludeLocMap (PR #106241)
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 30 01:50:13 PDT 2024
================
@@ -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
More information about the cfe-commits
mailing list