brintos

brintos / llvm-project-archived public Read only

0
0
Text · 7.5 KiB · a11c868 Raw
219 lines · plain
1module Clang_C {2  umbrella "clang-c"3  module * { export * }4}5 6module Clang_Analysis {7  requires cplusplus8  umbrella "clang/Analysis"9 10  textual header "clang/Analysis/Analyses/ThreadSafetyOps.def"11 12  module * { export * }13 14  // FIXME: Exclude these headers to avoid pulling all of the AST matchers15  // library into clang. Due to inline key functions in the headers,16  // importing the AST matchers library gives a link dependency on the AST17  // matchers (and thus the AST), which clang-format should not have.18  exclude header "clang/Analysis/Analyses/ExprMutationAnalyzer.h"19}20 21module Clang_AST {22  requires cplusplus23  umbrella "clang/AST"24 25  textual header "clang/AST/BuiltinTypes.def"26  textual header "clang/AST/CXXRecordDeclDefinitionBits.def"27  textual header "clang/AST/OperationKinds.def"28  textual header "clang/AST/TypeLocNodes.def"29 30  module * { export * }31}32 33module Clang_ASTMatchers { requires cplusplus umbrella "clang/ASTMatchers" module * { export * } }34 35module Clang_Basic {36  requires cplusplus37  umbrella "clang/Basic"38 39  textual header "clang/Basic/AArch64ACLETypes.def"40  textual header "clang/Basic/ABIVersions.def"41  textual header "clang/Basic/AMDGPUTypes.def"42  textual header "clang/Basic/BuiltinHeaders.def"43  textual header "clang/Basic/BuiltinsAArch64.def"44  textual header "clang/Basic/BuiltinsAArch64NeonSVEBridge.def"45  textual header "clang/Basic/BuiltinsAArch64NeonSVEBridge_cg.def"46  textual header "clang/Basic/BuiltinsAMDGPU.def"47  textual header "clang/Basic/BuiltinsARM.def"48  textual header "clang/Basic/BuiltinsHexagonMapCustomDep.def"49  textual header "clang/Basic/BuiltinsLoongArchBase.def"50  textual header "clang/Basic/BuiltinsLoongArchLASX.def"51  textual header "clang/Basic/BuiltinsLoongArchLSX.def"52  textual header "clang/Basic/BuiltinsMips.def"53  textual header "clang/Basic/BuiltinsPPC.def"54  textual header "clang/Basic/BuiltinsSystemZ.def"55  textual header "clang/Basic/BuiltinsVE.def"56  textual header "clang/Basic/BuiltinsVEVL.gen.def"57  textual header "clang/Basic/BuiltinsWebAssembly.def"58  textual header "clang/Basic/BuiltinsXCore.def"59  textual header "clang/Basic/CFProtectionOptions.def"60  textual header "clang/Basic/CodeGenOptions.def"61  textual header "clang/Basic/DebugOptions.def"62  textual header "clang/Basic/DiagnosticOptions.def"63  textual header "clang/Basic/FPOptions.def"64  textual header "clang/Basic/Features.def"65  textual header "clang/Basic/HLSLIntangibleTypes.def"66  textual header "clang/Basic/LangOptions.def"67  textual header "clang/Basic/MSP430Target.def"68  textual header "clang/Basic/OpenACCClauses.def"69  textual header "clang/Basic/OpenCLExtensionTypes.def"70  textual header "clang/Basic/OpenCLExtensions.def"71  textual header "clang/Basic/OpenCLImageTypes.def"72  textual header "clang/Basic/OpenMPKinds.def"73  textual header "clang/Basic/OperatorKinds.def"74  textual header "clang/Basic/PPCTypes.def"75  textual header "clang/Basic/RISCVVTypes.def"76  textual header "clang/Basic/Sanitizers.def"77  textual header "clang/Basic/TargetCXXABI.def"78  textual header "clang/Basic/TargetOSMacros.def"79  textual header "clang/Basic/TokenKinds.def"80  textual header "clang/Basic/TransformTypeTraits.def"81  textual header "clang/Basic/WebAssemblyReferenceTypes.def"82 83  module * { export * }84}85module Clang_Basic_TokenKinds {86  requires cplusplus87 88  header "clang/Basic/TokenKinds.h"89  textual header "clang/Basic/TokenKinds.def"90 91  export *92}93 94module Clang_CodeGen { requires cplusplus umbrella "clang/CodeGen" module * { export * } }95module Clang_Config { requires cplusplus umbrella "clang/Config" module * { export * } }96 97// Files for diagnostic groups are spread all over the include/clang/ tree, but98// logically form a single module.99module Clang_Diagnostics {100  requires cplusplus101 102  module All { header "clang/Basic/AllDiagnostics.h" export * }103  module Analysis { textual header "clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def" }104  module AST { header "clang/AST/ASTDiagnostic.h" export * }105  module Comment { header "clang/AST/CommentDiagnostic.h" export * }106  module Driver { header "clang/Driver/DriverDiagnostic.h" export * }107  module Frontend { header "clang/Frontend/FrontendDiagnostic.h" export * }108  module Lex { header "clang/Lex/LexDiagnostic.h" export * }109  module Parse { header "clang/Basic/DiagnosticParse.h" export * }110  module Serialization { header "clang/Serialization/SerializationDiagnostic.h" export * }111  module Refactoring { header "clang/Tooling/Refactoring/RefactoringDiagnostic.h" export * }112 113  textual header "clang/Basic/AllDiagnosticKinds.inc"114}115 116module Clang_Driver {117  requires cplusplus118  umbrella "clang/Driver"119 120  textual header "clang/Driver/Types.def"121 122  module * { export * }123}124 125module Clang_Edit { requires cplusplus umbrella "clang/Edit" module * { export * } }126module Clang_Format { requires cplusplus umbrella "clang/Format" module * { export * } }127 128module Clang_Frontend {129  requires cplusplus130  umbrella "clang/Frontend"131 132  textual header "clang/Basic/LangStandards.def"133 134  module * { export * }135}136 137module Clang_FrontendTool { requires cplusplus umbrella "clang/FrontendTool" module * { export * } }138module Clang_Index { requires cplusplus umbrella "clang/Index" module * { export * } }139 140module Clang_Lex {141  requires cplusplus142  umbrella "clang/Lex"143 144  textual header "clang/Lex/HLSLRootSignatureTokenKinds.def"145 146  module * { export * }147}148 149module Clang_Options { requires cplusplus umbrella "clang/Options" module * { export * } }150module Clang_Parse { requires cplusplus umbrella "clang/Parse" module * { export * } }151module Clang_Rewrite { requires cplusplus umbrella "clang/Rewrite/Core" module * { export * } }152module Clang_RewriteFrontend { requires cplusplus umbrella "clang/Rewrite/Frontend" module * { export * } }153module Clang_Sema { requires cplusplus umbrella "clang/Sema" module * { export * } }154 155module Clang_Serialization {156  requires cplusplus157  umbrella "clang/Serialization"158 159  textual header "clang/Serialization/TypeBitCodes.def"160 161  module * { export * }162}163 164module Clang_StaticAnalyzer_Core {165  requires cplusplus166  umbrella "clang/StaticAnalyzer/Core"167 168  textual header "clang/StaticAnalyzer/Core/Analyses.def"169  textual header "clang/StaticAnalyzer/Core/AnalyzerOptions.def"170  textual header "clang/StaticAnalyzer/Core/PathSensitive/SVals.def"171  textual header "clang/StaticAnalyzer/Core/PathSensitive/Symbols.def"172  textual header "clang/StaticAnalyzer/Core/PathSensitive/Regions.def"173 174  module * { export * }175}176 177module Clang_StaticAnalyzer_Checkers {178  requires cplusplus179  umbrella "clang/StaticAnalyzer/Checkers"180  module * { export * }181}182 183module Clang_StaticAnalyzer_Frontend {184  requires cplusplus185  umbrella "clang/StaticAnalyzer/Frontend"186  module * { export * }187}188 189module Clang_Support { requires cplusplus umbrella "clang/Support" module * { export * } }190 191module Clang_Testing {192  requires cplusplus193  umbrella "clang/Testing"194 195  textual header "clang/Testing/TestLanguage.def"196 197  module * { export * }198}199 200module Clang_Tooling {201  requires cplusplus umbrella "clang/Tooling" module * { export * }202  // FIXME: Exclude these headers to avoid pulling all of the AST matchers203  // library into clang-format. Due to inline key functions in the headers,204  // importing the AST matchers library gives a link dependency on the AST205  // matchers (and thus the AST), which clang-format should not have.206  exclude header "clang/Tooling/RefactoringCallbacks.h"207}208 209module Clang_ToolingCore {210  requires cplusplus211  umbrella "clang/Tooling/Core" module * { export * }212}213 214module Clang_ToolingInclusions {215  requires cplusplus216  umbrella "clang/Tooling/Inclusions"217  module * { export * }218}219