[clang] 12ccc24 - [clang] Fix flag typo in comment

via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 6 14:22:16 PDT 2024


Author: Dave Lee
Date: 2024-06-06T14:22:12-07:00
New Revision: 12ccc245f195695c8bac9156c75e5b70044882fa

URL: https://github.com/llvm/llvm-project/commit/12ccc245f195695c8bac9156c75e5b70044882fa
DIFF: https://github.com/llvm/llvm-project/commit/12ccc245f195695c8bac9156c75e5b70044882fa.diff

LOG: [clang] Fix flag typo in comment

Fixed for more accurate searches of the flag `-Wsystem-headers-in-module=`.

Added: 
    

Modified: 
    clang/include/clang/Basic/DiagnosticOptions.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Basic/DiagnosticOptions.h b/clang/include/clang/Basic/DiagnosticOptions.h
index 099982c3bdd5a..30141c2b8f447 100644
--- a/clang/include/clang/Basic/DiagnosticOptions.h
+++ b/clang/include/clang/Basic/DiagnosticOptions.h
@@ -124,7 +124,7 @@ class DiagnosticOptions : public RefCountedBase<DiagnosticOptions>{
   /// default).
   std::vector<std::string> VerifyPrefixes;
 
-  /// The list of -Wsystem-header-in-module=... options used to override
+  /// The list of -Wsystem-headers-in-module=... options used to override
   /// whether -Wsystem-headers is enabled on a per-module basis.
   std::vector<std::string> SystemHeaderWarningsModules;
 


        


More information about the cfe-commits mailing list