003 File Manager
Current Path:
/usr/src/contrib/llvm-project/clang/include/clang/Basic
usr
/
src
/
contrib
/
llvm-project
/
clang
/
include
/
clang
/
Basic
/
📁
..
📄
AArch64SVEACLETypes.def
(7.09 KB)
📄
ABI.h
(5.95 KB)
📄
ASTNode.td
(120 B)
📄
AddressSpaces.h
(2.59 KB)
📄
AlignedAllocation.h
(1.38 KB)
📄
AllDiagnostics.h
(1.44 KB)
📄
Attr.td
(122.78 KB)
📄
AttrDocs.td
(197.8 KB)
📄
AttrKinds.h
(929 B)
📄
AttrSubjectMatchRules.h
(957 B)
📄
AttributeCommonInfo.h
(7.02 KB)
📄
Attributes.h
(1.35 KB)
📄
BitmaskEnum.h
(749 B)
📄
Builtins.def
(71.64 KB)
📄
Builtins.h
(9.13 KB)
📄
BuiltinsAArch64.def
(14.31 KB)
📄
BuiltinsAMDGPU.def
(13.1 KB)
📄
BuiltinsARM.def
(18.6 KB)
📄
BuiltinsBPF.def
(1016 B)
📄
BuiltinsHexagon.def
(6.15 KB)
📄
BuiltinsHexagonDep.def
(117.26 KB)
📄
BuiltinsHexagonMapCustomDep.def
(8.56 KB)
📄
BuiltinsLe64.def
(728 B)
📄
BuiltinsMips.def
(35.51 KB)
📄
BuiltinsNEON.def
(814 B)
📄
BuiltinsNVPTX.def
(27.63 KB)
📄
BuiltinsPPC.def
(21.53 KB)
📄
BuiltinsSVE.def
(786 B)
📄
BuiltinsSystemZ.def
(19.7 KB)
📄
BuiltinsWebAssembly.def
(10.17 KB)
📄
BuiltinsX86.def
(140.49 KB)
📄
BuiltinsX86_64.def
(6.79 KB)
📄
BuiltinsXCore.def
(846 B)
📄
CapturedStmt.h
(662 B)
📄
CharInfo.h
(6.52 KB)
📄
CodeGenOptions.def
(21.65 KB)
📄
CodeGenOptions.h
(14.14 KB)
📄
CommentNodes.td
(1.04 KB)
📄
CommentOptions.h
(1.1 KB)
📄
Cuda.h
(2.3 KB)
📄
DebugInfoOptions.h
(1.72 KB)
📄
DeclNodes.td
(4.72 KB)
📄
Diagnostic.h
(55.73 KB)
📄
Diagnostic.td
(5.29 KB)
📄
DiagnosticAST.h
(903 B)
📄
DiagnosticASTKinds.td
(29.35 KB)
📄
DiagnosticAnalysis.h
(933 B)
📄
DiagnosticAnalysisKinds.td
(405 B)
📄
DiagnosticCategories.h
(757 B)
📄
DiagnosticCategories.td
(480 B)
📄
DiagnosticComment.h
(927 B)
📄
DiagnosticCommentKinds.td
(6.18 KB)
📄
DiagnosticCommonKinds.td
(14.32 KB)
📄
DiagnosticCrossTU.h
(927 B)
📄
DiagnosticCrossTUKinds.td
(889 B)
📄
DiagnosticDocs.td
(1.96 KB)
📄
DiagnosticDriver.h
(921 B)
📄
DiagnosticDriverKinds.td
(25.54 KB)
📄
DiagnosticError.h
(1.98 KB)
📄
DiagnosticFrontend.h
(933 B)
📄
DiagnosticFrontendKinds.td
(13.86 KB)
📄
DiagnosticGroups.td
(59.71 KB)
📄
DiagnosticIDs.h
(12.83 KB)
📄
DiagnosticLex.h
(903 B)
📄
DiagnosticLexKinds.td
(38.36 KB)
📄
DiagnosticOptions.def
(4.58 KB)
📄
DiagnosticOptions.h
(4.21 KB)
📄
DiagnosticParse.h
(915 B)
📄
DiagnosticParseKinds.td
(68.47 KB)
📄
DiagnosticRefactoring.h
(951 B)
📄
DiagnosticRefactoringKinds.td
(1.33 KB)
📄
DiagnosticSema.h
(909 B)
📄
DiagnosticSemaKinds.td
(546.17 KB)
📄
DiagnosticSerialization.h
(962 B)
📄
DiagnosticSerializationKinds.td
(18.08 KB)
📄
ExceptionSpecificationType.h
(2.48 KB)
📄
ExpressionTraits.h
(1.18 KB)
📄
FPOptions.def
(1.16 KB)
📄
Features.def
(11.55 KB)
📄
FileManager.h
(16.39 KB)
📄
FileSystemOptions.h
(924 B)
📄
FileSystemStatCache.h
(3.26 KB)
📄
FixedPoint.h
(8.6 KB)
📄
IdentifierTable.h
(33.75 KB)
📄
JsonSupport.h
(3.69 KB)
📄
LLVM.h
(2.43 KB)
📄
Lambda.h
(1.37 KB)
📄
LangOptions.def
(21.96 KB)
📄
LangOptions.h
(18.78 KB)
📄
LangStandard.h
(3.87 KB)
📄
LangStandards.def
(6.8 KB)
📄
Linkage.h
(4.13 KB)
📄
MSP430Target.def
(7.04 KB)
📄
MacroBuilder.h
(1.34 KB)
📄
Module.h
(24.09 KB)
📄
ObjCRuntime.h
(14.36 KB)
📄
OpenCLExtensionTypes.def
(1.59 KB)
📄
OpenCLExtensions.def
(4.38 KB)
📄
OpenCLImageTypes.def
(4.1 KB)
📄
OpenCLOptions.h
(4.42 KB)
📄
OpenMPKinds.def
(4.58 KB)
📄
OpenMPKinds.h
(9.66 KB)
📄
OperatorKinds.def
(6.56 KB)
📄
OperatorKinds.h
(1.55 KB)
📄
OperatorPrecedence.h
(1.82 KB)
📄
PartialDiagnostic.h
(12.96 KB)
📄
PlistSupport.h
(4.02 KB)
📄
PragmaKinds.h
(1.21 KB)
📄
PrettyStackTrace.h
(1.26 KB)
📄
SanitizerBlacklist.h
(1.73 KB)
📄
SanitizerSpecialCaseList.h
(1.81 KB)
📄
Sanitizers.def
(6.41 KB)
📄
Sanitizers.h
(6.57 KB)
📄
SourceLocation.h
(15.56 KB)
📄
SourceManager.h
(71.11 KB)
📄
SourceManagerInternals.h
(4.27 KB)
📄
Specifiers.h
(12.68 KB)
📄
Stack.h
(1.94 KB)
📄
StmtNodes.td
(10.92 KB)
📄
SyncScope.h
(4.87 KB)
📄
TargetBuiltins.h
(9.18 KB)
📄
TargetCXXABI.h
(12.49 KB)
📄
TargetInfo.h
(54.4 KB)
📄
TargetOptions.h
(3 KB)
📄
TemplateKinds.h
(2.22 KB)
📄
TokenKinds.def
(33.83 KB)
📄
TokenKinds.h
(3.99 KB)
📄
TypeNodes.td
(5.48 KB)
📄
TypeTraits.h
(2.67 KB)
📄
Version.h
(2.23 KB)
📄
Visibility.h
(4.4 KB)
📄
X86Target.def
(5.21 KB)
📄
XRayInstr.h
(1.92 KB)
📄
XRayLists.h
(1.73 KB)
📄
arm_bf16.td
(590 B)
📄
arm_cde.td
(9.29 KB)
📄
arm_fp16.td
(5.79 KB)
📄
arm_mve.td
(70.85 KB)
📄
arm_mve_defs.td
(24.52 KB)
📄
arm_neon.td
(90.63 KB)
📄
arm_neon_incl.td
(13.64 KB)
📄
arm_sve.td
(162.48 KB)
Editing: TypeNodes.td
include "clang/Basic/ASTNode.td" class TypeNode<TypeNode base, bit abstract = 0> : ASTNode { TypeNode Base = base; bit Abstract = abstract; } /// A type node that is only used to represent dependent types in C++. For /// example, DependentTemplateSpecializationType is used to represent types /// where the base template-id is dependent (such as `T::foo<U>`). Code /// that only works with non-dependent types can ignore these type nodes. class AlwaysDependent {} /// A type node that is never used to represent a canonical type, which is to /// say that it always represents some sort of type "sugar" which can /// (supposedly) be erased without affecting the formal behavior of the /// language. For example, in standard C/C++, typedefs do not introduce new /// types and do not affect the semantics of the program. Code that only /// works with canonical types can ignore these type nodes. /// /// Note that this simple story about non-canonical types is not the whole /// truth. Languages and extensions often have formation rules which differ /// based on how a type is spelled and which therefore are not consistent /// with immediately stipping away type sugar. More critically, attributes on /// typedefs can have semantic impacts in ways that are only reflected in our /// AST by preserving the typedef sugar; for example, we do not otherwise /// represent the alignment attribute on typedefs, and so it is necessary to /// preserve typedef structure into most parts of IR generation. class NeverCanonical {} /// A type node that only represents a canonical type in some dependent cases. /// For example, `std::vector<int>` (a TemplateSpecializationType) is /// considered to be a non-canonical representation for the RecordType /// referencing the concrete ClassTemplateSpecializationDecl; but /// `std::vector<T>` cannot be resolved to a concrete specialization /// and so remains canonical. Code which only works with non-dependent /// canonical types can ignore these nodes. class NeverCanonicalUnlessDependent {} /// A type node which never has component type structure. Some code may be /// able to operate on leaf types faster than they can on non-leaf types. /// /// For example, the function type `void (int)` is not a leaf type because it /// is structurally composed of component types (`void` and `int`). /// /// A struct type is a leaf type because its field types are not part of its /// type-expression. /// /// Nodes like `TypedefType` which are syntactically leaves but can desugar /// to types that may not be leaves should not declare this. class LeafType {} def Type : TypeNode<?, 1>; def BuiltinType : TypeNode<Type>, LeafType; def ComplexType : TypeNode<Type>; def PointerType : TypeNode<Type>; def BlockPointerType : TypeNode<Type>; def ReferenceType : TypeNode<Type, 1>; def LValueReferenceType : TypeNode<ReferenceType>; def RValueReferenceType : TypeNode<ReferenceType>; def MemberPointerType : TypeNode<Type>; def ArrayType : TypeNode<Type, 1>; def ConstantArrayType : TypeNode<ArrayType>; def IncompleteArrayType : TypeNode<ArrayType>; def VariableArrayType : TypeNode<ArrayType>; def DependentSizedArrayType : TypeNode<ArrayType>, AlwaysDependent; def DependentSizedExtVectorType : TypeNode<Type>, AlwaysDependent; def DependentAddressSpaceType : TypeNode<Type>, AlwaysDependent; def VectorType : TypeNode<Type>; def DependentVectorType : TypeNode<Type>, AlwaysDependent; def ExtVectorType : TypeNode<VectorType>; def MatrixType : TypeNode<Type, 1>; def ConstantMatrixType : TypeNode<MatrixType>; def DependentSizedMatrixType : TypeNode<MatrixType>, AlwaysDependent; def FunctionType : TypeNode<Type, 1>; def FunctionProtoType : TypeNode<FunctionType>; def FunctionNoProtoType : TypeNode<FunctionType>; def UnresolvedUsingType : TypeNode<Type>, AlwaysDependent; def ParenType : TypeNode<Type>, NeverCanonical; def TypedefType : TypeNode<Type>, NeverCanonical; def MacroQualifiedType : TypeNode<Type>, NeverCanonical; def AdjustedType : TypeNode<Type>, NeverCanonical; def DecayedType : TypeNode<AdjustedType>, NeverCanonical; def TypeOfExprType : TypeNode<Type>, NeverCanonicalUnlessDependent; def TypeOfType : TypeNode<Type>, NeverCanonicalUnlessDependent; def DecltypeType : TypeNode<Type>, NeverCanonicalUnlessDependent; def UnaryTransformType : TypeNode<Type>, NeverCanonicalUnlessDependent; def TagType : TypeNode<Type, 1>; def RecordType : TypeNode<TagType>, LeafType; def EnumType : TypeNode<TagType>, LeafType; def ElaboratedType : TypeNode<Type>, NeverCanonical; def AttributedType : TypeNode<Type>, NeverCanonical; def TemplateTypeParmType : TypeNode<Type>, AlwaysDependent, LeafType; def SubstTemplateTypeParmType : TypeNode<Type>, NeverCanonical; def SubstTemplateTypeParmPackType : TypeNode<Type>, AlwaysDependent; def TemplateSpecializationType : TypeNode<Type>, NeverCanonicalUnlessDependent; def DeducedType : TypeNode<Type, 1>; def AutoType : TypeNode<DeducedType>; def DeducedTemplateSpecializationType : TypeNode<DeducedType>; def InjectedClassNameType : TypeNode<Type>, AlwaysDependent, LeafType; def DependentNameType : TypeNode<Type>, AlwaysDependent; def DependentTemplateSpecializationType : TypeNode<Type>, AlwaysDependent; def PackExpansionType : TypeNode<Type>, AlwaysDependent; def ObjCTypeParamType : TypeNode<Type>, NeverCanonical; def ObjCObjectType : TypeNode<Type>; def ObjCInterfaceType : TypeNode<ObjCObjectType>, LeafType; def ObjCObjectPointerType : TypeNode<Type>; def PipeType : TypeNode<Type>; def AtomicType : TypeNode<Type>; def ExtIntType : TypeNode<Type>; def DependentExtIntType : TypeNode<Type>, AlwaysDependent;
Upload File
Create Folder