[clang] 2cf550a - Add missing textual header to module map

Adrian Prantl via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 20 10:06:02 PST 2022


Author: Adrian Prantl
Date: 2022-12-20T10:05:55-08:00
New Revision: 2cf550a80a0177f8a1aa9ae45c40b0d17ef7f11d

URL: https://github.com/llvm/llvm-project/commit/2cf550a80a0177f8a1aa9ae45c40b0d17ef7f11d
DIFF: https://github.com/llvm/llvm-project/commit/2cf550a80a0177f8a1aa9ae45c40b0d17ef7f11d.diff

LOG: Add missing textual header to module map

Added: 
    

Modified: 
    clang/include/clang/module.modulemap

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/module.modulemap b/clang/include/clang/module.modulemap
index 227beafabcb0..c182da1d830a 100644
--- a/clang/include/clang/module.modulemap
+++ b/clang/include/clang/module.modulemap
@@ -94,7 +94,10 @@ module Clang_Diagnostics {
   requires cplusplus
 
   module All { header "Basic/AllDiagnostics.h" export * }
-  module Analysis { header "Analysis/AnalysisDiagnostic.h" export * }
+  module Analysis {
+    header "Analysis/AnalysisDiagnostic.h" export *
+    textual header "Analysis/Analyses/UnsafeBufferUsageGadgets.def"
+  }
   module AST { header "AST/ASTDiagnostic.h" export * }
   module Comment { header "AST/CommentDiagnostic.h" export * }
   module Driver { header "Driver/DriverDiagnostic.h" export * }


        


More information about the cfe-commits mailing list