[clang-tools-extra] 15b2702 - [include-cleaner] NFC, correct a comment in

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 11 05:41:24 PST 2022


Author: Haojian Wu
Date: 2022-11-11T14:40:08+01:00
New Revision: 15b2702e83fa1e99e56b51a4254e8dc4f331ca9d

URL: https://github.com/llvm/llvm-project/commit/15b2702e83fa1e99e56b51a4254e8dc4f331ca9d
DIFF: https://github.com/llvm/llvm-project/commit/15b2702e83fa1e99e56b51a4254e8dc4f331ca9d.diff

LOG: [include-cleaner] NFC, correct a comment in
PragmaIncludes::RecordPragma.

Added: 
    

Modified: 
    clang-tools-extra/include-cleaner/lib/Record.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/include-cleaner/lib/Record.cpp b/clang-tools-extra/include-cleaner/lib/Record.cpp
index 4dabd4aa6d07..72db299114da 100644
--- a/clang-tools-extra/include-cleaner/lib/Record.cpp
+++ b/clang-tools-extra/include-cleaner/lib/Record.cpp
@@ -225,9 +225,9 @@ class PragmaIncludes::RecordPragma : public PPCallbacks, public CommentHandler {
       // 2. handleCommentInMainFile("// IWYU pragma: keep")
       // 3. InclusionDirective("bar.h")
       //
-      // This code stores the last location of "IWYU pragma: keep" (or export)
-      // comment in the main file, so that when next InclusionDirective is
-      // called, it will know that the next inclusion is behind the IWYU pragma.
+      // This code stores the last location of "IWYU pragma: keep" comment in
+      // the main file, so that when next InclusionDirective is called, it will
+      // know that the next inclusion is behind the IWYU pragma.
       LastPragmaKeepInMainFileLine = CommentLine;
     }
     return false;


        


More information about the cfe-commits mailing list