[clang] [clang][modules] Remove preloaded SLocEntries from PCM files (PR #66962)

Ben Langmuir via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 3 14:00:31 PDT 2023


================
@@ -2082,6 +2082,11 @@ std::pair<bool, bool> SourceManager::isInTheSameTranslationUnit(
   if (LOffs.first == ROffs.first)
     return std::make_pair(true, LOffs.second < ROffs.second);
 
+  // Built-ins are not considered part of any TU.
----------------
benlangmuir wrote:

Yes, this comment is dead and I didn't notice it was still there when I submitted.

https://github.com/llvm/llvm-project/pull/66962


More information about the cfe-commits mailing list