[clang] 56a3574 - [clang][Parser][NFC] Fix a doc comment mishap

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 28 03:33:02 PDT 2023


Author: Timm Bäder
Date: 2023-09-28T12:32:30+02:00
New Revision: 56a35746debc172e36eb6eaf17c5dcf4927a425e

URL: https://github.com/llvm/llvm-project/commit/56a35746debc172e36eb6eaf17c5dcf4927a425e
DIFF: https://github.com/llvm/llvm-project/commit/56a35746debc172e36eb6eaf17c5dcf4927a425e.diff

LOG: [clang][Parser][NFC] Fix a doc comment mishap

Added: 
    

Modified: 
    clang/lib/Basic/SourceManager.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Basic/SourceManager.cpp b/clang/lib/Basic/SourceManager.cpp
index 0521ac7b30339ab..757b7ea68bb14a4 100644
--- a/clang/lib/Basic/SourceManager.cpp
+++ b/clang/lib/Basic/SourceManager.cpp
@@ -1371,7 +1371,7 @@ unsigned SourceManager::getLineNumber(FileID FID, unsigned FilePos,
   }
 
   // If this is the first use of line information for this buffer, compute the
-  /// SourceLineCache for it on demand.
+  // SourceLineCache for it on demand.
   if (!Content->SourceLineCache) {
     std::optional<llvm::MemoryBufferRef> Buffer =
         Content->getBufferOrNone(Diag, getFileManager(), SourceLocation());


        


More information about the cfe-commits mailing list