llvm-project/clang/include/clang/Basic
Reid Kleckner 4c2a6567bb Avoid ASTContext.h -> TargetInfo.h dep
This has been done before in 2008: ab13857072
But these things regress easily.
Move some things out of line.

Saves 316 includes + transitive stuff:
    316 -    ../clang/include/clang/Basic/TargetOptions.h
    316 -    ../clang/include/clang/Basic/TargetInfo.h
    316 -    ../clang/include/clang/Basic/TargetCXXABI.h
    316 -    ../clang/include/clang/Basic/OpenCLOptions.h
    316 -    ../clang/include/clang/Basic/OpenCLExtensions.def
    302 -    ../llvm/include/llvm/Target/TargetOptions.h
    302 -    ../llvm/include/llvm/Support/CodeGen.h
    302 -    ../llvm/include/llvm/MC/MCTargetOptions.h
    302 -    ../llvm/include/llvm/ADT/FloatingPointMode.h
    302 -    ../clang/include/clang/Basic/XRayInstr.h
    302 -    ../clang/include/clang/Basic/DebugInfoOptions.h
    302 -    ../clang/include/clang/Basic/CodeGenOptions.h
    302 -    ../clang/include/clang/Basic/CodeGenOptions.def
    257 -    ../llvm/include/llvm/Support/Regex.h
     79 -    ../llvm/include/llvm/ADT/SmallSet.h
     68 -    MSVCSTL/include/set
     66 -    ../llvm/include/llvm/ADT/SmallPtrSet.h
     62 -    ../llvm/include/llvm/ADT/StringSwitch.h
2020-02-27 14:35:00 -08:00
..
AArch64SVEACLETypes.def Add SVE opaque built-in types 2019-08-09 08:52:54 +00:00
ABI.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ASTNode.td Add the ability to use property-based serialization for "cased" types. 2019-12-16 13:33:59 -05:00
AddressSpaces.h Add support for the MS qualifiers __ptr32, __ptr64, __sptr, __uptr. 2019-12-18 10:41:12 -08:00
AlignedAllocation.h Revert "[clang] Aligned allocation is actually supported in macosx 10.13" 2019-04-15 19:08:52 +00:00
AllDiagnostics.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Attr.td [objc_direct] Small updates to help with adoption. 2020-02-16 16:32:41 -08:00
AttrDocs.td [objc_direct] Small updates to help with adoption. 2020-02-16 16:32:41 -08:00
AttrKinds.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AttrSubjectMatchRules.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AttributeCommonInfo.h Add an attribute registry so plugins can add attributes 2020-02-27 17:23:16 +00:00
Attributes.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BitmaskEnum.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Builtins.def [clang] Add support for __builtin_memcpy_inline 2020-02-07 23:55:26 +01:00
Builtins.h Avoid including Builtins.h in Preprocessor.h 2019-11-15 16:45:16 -08:00
BuiltinsAArch64.def [ARM][AArch64] Implement __cls, __clsl and __clsll intrinsics from ACLE 2019-10-28 11:06:58 +00:00
BuiltinsAMDGPU.def Summary: 2020-01-28 03:51:27 -05:00
BuiltinsARM.def [ARM][CMSE] Add CMSE header and builtins 2019-12-12 15:01:14 +00:00
BuiltinsBPF.def [BPF] do compile-once run-everywhere relocation for bitfields 2019-10-08 18:23:17 +00:00
BuiltinsHexagon.def [Hexagon] Change HVX vector predicate types from v512/1024i1 to v64/128i1 2020-02-19 14:14:56 -06:00
BuiltinsHexagonDep.def [Hexagon] Change HVX vector predicate types from v512/1024i1 to v64/128i1 2020-02-19 14:14:56 -06:00
BuiltinsHexagonMapCustomDep.def [Hexagon] Change HVX vector predicate types from v512/1024i1 to v64/128i1 2020-02-19 14:14:56 -06:00
BuiltinsLe64.def Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BuiltinsMips.def [Mips] Add intrinsics for 4-byte and 8-byte MSA loads/stores. 2020-02-11 11:47:30 +01:00
BuiltinsNEON.def Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BuiltinsNVPTX.def [CUDA] Implemented _[bi]mma* builtins. 2019-04-25 22:28:09 +00:00
BuiltinsPPC.def Remove reliance on lax vector conversions from altivec.h and its test. 2019-09-13 05:19:12 +00:00
BuiltinsSystemZ.def [SystemZ] Add support for new cpu architecture - arch13 2019-07-12 18:14:51 +00:00
BuiltinsWebAssembly.def [WebAssembly] Enable recently implemented SIMD operations 2020-02-04 18:36:32 -08:00
BuiltinsX86.def [X86] Mark various pointer arguments in builtins as const 2019-12-19 11:42:11 -08:00
BuiltinsX86_64.def [X86] Require last argument to LWPINS/LWPVAL builtins to be an ICE. Add ImmArg to the llvm intrinsics. 2019-09-22 23:48:50 +00:00
BuiltinsXCore.def Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt [clang,ARM] Initial ACLE intrinsics for MVE. 2019-10-24 16:33:13 +01:00
CapturedStmt.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CharInfo.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CodeGenOptions.def Revert "Reland "[DebugInfo] Enable the debug entry values feature by default"" 2020-02-20 14:41:39 +01:00
CodeGenOptions.h Separately track input and output denormal mode 2020-02-04 12:59:21 -05:00
CommentNodes.td Add the ability to use property-based serialization for "cased" types. 2019-12-16 13:33:59 -05:00
CommentOptions.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Cuda.h [CUDA] Assume the latest known CUDA version if we've found an unknown one. 2020-01-28 10:11:42 -08:00
DebugInfoOptions.h [DebugInfo] Add another level to DebugInfoKind called Constructor 2020-01-13 15:59:03 -08:00
DeclNodes.td [Concepts] Requires Expressions 2020-01-19 00:23:26 +02:00
Diagnostic.h Use std::foo_t rather than std::foo in clang. 2020-02-11 10:37:08 -08:00
Diagnostic.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticAST.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticASTKinds.td Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
DiagnosticAnalysis.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticAnalysisKinds.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticCategories.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticCategories.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticComment.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticCommentKinds.td [Wdocumentation] Use the command marker. 2019-12-10 21:16:07 +01:00
DiagnosticCommonKinds.td Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
DiagnosticCrossTU.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticCrossTUKinds.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticDocs.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticDriver.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticDriverKinds.td [remark][diagnostics] [codegen] Fix PR44896 2020-02-25 08:15:17 -08:00
DiagnosticError.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticFrontend.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticFrontendKinds.td Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
DiagnosticGroups.td Put microsoft template parameter shadow warning behind separate flag (PR44794) 2020-02-26 16:04:40 +01:00
DiagnosticIDs.h Use a unique_ptr instead of manual memory management for CustomDiagInfo 2019-07-15 17:20:34 +00:00
DiagnosticLex.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticLexKinds.td Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
DiagnosticOptions.def [lldb] Print better diagnostics for user expressions and modules 2019-09-18 08:53:35 +00:00
DiagnosticOptions.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticParse.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticParseKinds.td Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
DiagnosticRefactoring.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticRefactoringKinds.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticSema.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticSemaKinds.td PR44978: Accept as an extension some cases where destructor name lookup 2020-02-26 14:55:31 -08:00
DiagnosticSerialization.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiagnosticSerializationKinds.td clang/Modules: Error if ReadASTBlock does not find the main module 2019-11-12 08:40:53 -08:00
ExceptionSpecificationType.h Add Attribute NoThrow as an Exception Specifier Type 2019-05-30 17:31:54 +00:00
ExpressionTraits.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Features.def Support output constraints on "asm goto" 2020-02-24 18:51:29 -08:00
FileManager.h [clang] Fix the canonicalization of paths in -fdiagnostics-absolute-paths 2019-12-20 09:16:33 +01:00
FileSystemOptions.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FileSystemStatCache.h [FileSystemStatCache] Return std::error_code from stat cache methods 2019-04-16 17:34:26 +00:00
FixedPoint.h Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
IdentifierTable.h PointerLikeTypeTraits: Standardize NumLowBitsAvailable on static constexpr rather than anonymous enum 2020-01-16 15:30:50 -08:00
JsonSupport.h [analyzer] exploded-graph-rewriter: Improve source location dumps. 2019-07-12 02:10:33 +00:00
LLVM.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Lambda.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LangOptions.def Revert "[SYCL] Driver option to select SYCL version" 2020-02-27 16:23:54 +03:00
LangOptions.h [FPEnv] Extended FPOptions with new attributes 2020-01-26 21:03:53 +07:00
LangStandard.h Move LangStandard*, InputKind::Language to Basic 2019-08-05 13:59:26 +00:00
LangStandards.def Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
Linkage.h Improve code generation for thread_local variables: 2019-09-12 20:00:24 +00:00
MSP430Target.def Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MacroBuilder.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Module.h Forward declare FileEntry and DirectoryEntry in Module.h 2020-02-27 10:18:06 -08:00
ObjCRuntime.h Implement __attribute__((objc_direct)), __attribute__((objc_direct_members)) 2019-11-18 11:48:40 -08:00
OpenCLExtensionTypes.def Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OpenCLExtensions.def [OpenCL] Fix support for cl_khr_mipmap_image_writes 2020-02-05 14:55:32 +03:00
OpenCLImageTypes.def Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OpenCLOptions.h [OpenCL] Pass LangOptions as const ref 2019-09-27 13:31:29 +00:00
OpenMPKinds.def [OpenMP][NFCI] Use the libFrontend DefaultKind in Clang 2020-02-15 00:38:12 -06:00
OpenMPKinds.h [OpenMP][NFCI] Use the libFrontend DefaultKind in Clang 2020-02-15 00:38:12 -06:00
OperatorKinds.def Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OperatorKinds.h [c++20] Add rewriting from comparison operators to <=> / ==. 2019-10-19 00:04:43 +00:00
OperatorPrecedence.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PartialDiagnostic.h Use std::foo_t rather than std::foo in clang. 2020-02-11 10:37:08 -08:00
PlistSupport.h Re-apply r357823 "[Lexer] NFC: Fix an off-by-one bug in getAsCharRange()." 2019-04-23 21:15:26 +00:00
PragmaKinds.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PrettyStackTrace.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SanitizerBlacklist.h Forward declare special case lists 2020-02-27 10:05:30 -08:00
SanitizerSpecialCaseList.h Forward declare special case lists 2020-02-27 10:05:30 -08:00
Sanitizers.def ARM MTE stack sanitizer. 2019-07-15 20:02:23 +00:00
Sanitizers.h SanitizerMask::bitPosToMask - fix operator precedence warnings. NFCI. 2019-11-04 15:12:01 +00:00
SourceLocation.h PointerLikeTypeTraits: Standardize NumLowBitsAvailable on static constexpr rather than anonymous enum 2020-01-16 15:30:50 -08:00
SourceManager.h Fix "pointer is null" static analyzer warning. NFCI. 2020-01-12 21:48:00 +00:00
SourceManagerInternals.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Specifiers.h Separate the MS inheritance model enum from the attribute, NFC 2019-11-22 16:06:30 -08:00
Stack.h Improve behavior in the case of stack exhaustion. 2019-08-26 18:18:07 +00:00
StmtNodes.td Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
SyncScope.h [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
TargetBuiltins.h [BPF] do compile-once run-everywhere relocation for bitfields 2019-10-08 18:23:17 +00:00
TargetCXXABI.h [AIX][Frontend] C++ ABI customizations for AIX boilerplate 2020-02-24 10:26:51 -05:00
TargetInfo.h Avoid ASTContext.h -> TargetInfo.h dep 2020-02-27 14:35:00 -08:00
TargetOptions.h [CUDA] Propagate detected version of CUDA to cc1 2019-01-31 21:32:24 +00:00
TemplateKinds.h [Concepts] Concept definitions (D40381) 2019-07-10 21:25:49 +00:00
TokenKinds.def [Concepts] Deprecate -fconcepts-ts, enable Concepts under -std=c++2a 2020-01-24 00:48:59 +02:00
TokenKinds.h Use switch instead of series of comparisons 2019-08-03 16:32:49 +00:00
TypeNodes.td Add the ability to use property-based serialization for "cased" types. 2019-12-16 13:33:59 -05:00
TypeTraits.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Version.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Version.inc.in
Visibility.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
X86Target.def [X86] Remove 'Server' from Tigerlake description comments. 2019-08-13 00:00:27 +00:00
XRayInstr.h [xray] Allow instrumenting only function entry and/or only function exit 2020-01-17 13:32:34 -08:00
XRayLists.h Forward declare special case lists 2020-02-27 10:05:30 -08:00
arm_fp16.td Recommit ARM-NEON: make type modifiers orthogonal and allow multiple modifiers. 2019-11-26 09:21:47 +00:00
arm_mve.td [ARM,MVE] Add predicated intrinsics for many unary functions. 2020-02-26 15:12:07 +00:00
arm_mve_defs.td [ARM,MVE] Add predicated intrinsics for many unary functions. 2020-02-26 15:12:07 +00:00
arm_neon.td [AArch64] Add IR intrinsics for sq(r)dmulh_lane(q) 2020-01-29 13:25:23 +00:00
arm_neon_incl.td Recommit ARM-NEON: make type modifiers orthogonal and allow multiple modifiers. 2019-11-26 09:21:47 +00:00