diff options
Diffstat (limited to 'clang-tools-extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp')
| -rw-r--r-- | clang-tools-extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp b/clang-tools-extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp index 5e705f720c86..487e5e299d13 100644 --- a/clang-tools-extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp +++ b/clang-tools-extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp @@ -35,7 +35,7 @@ public: const SrcMgr::ContentCache &ContentCache, llvm::vfs::InMemoryFileSystem &InMemoryFs) { // Return if we are not interested in the contents of this file. - if (!FilesToRecord.count(File)) + if (!FilesToRecord.contains(File)) return; // FIXME: Why is this happening? We might be losing contents here. |
