Home
last modified time | relevance | path

Searched refs:Trait (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSpecifiers.h90 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) TST_##Trait, argument
H A DTokenKinds.def68 #define TRANSFORM_TYPE_TRAIT_DEF(K, Trait) KEYWORD(__##Trait, KEYCXX)
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseTentative.cpp212 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) case tok::kw___##Trait: in TryConsumeDeclarationSpecifier() argument
1850 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) case tok::kw___##Trait: in isCXXDeclarationSpecifier() argument
1893 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) case tok::kw___##Trait: in isCXXDeclarationSpecifierAType() argument
H A DParseExpr.cpp830 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) \ in isRevertibleTypeTrait() argument
831 REVERTIBLE_TYPE_TRAIT(RTT_JOIN(__, Trait)); in isRevertibleTypeTrait()
1856 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) case tok::kw___##Trait: in ParseCastExpression() argument
H A DParseExprCXX.cpp413 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) case tok::kw___##Trait: in ParseOptionalCXXScopeSpecifier() argument
3239 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) case tok::kw___##Trait: in ParseUnqualifiedId() argument
H A DParseDeclCXX.cpp1343 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) \ in TypeTransformTokToDeclSpec() argument
1344 case tok::kw___##Trait: \ in TypeTransformTokToDeclSpec()
1345 return DeclSpec::TST_##Trait; in TypeTransformTokToDeclSpec()
1767 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) tok::kw___##Trait, in ParseClassSpecifier() argument
H A DParseStmt.cpp282 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) case tok::kw___##Trait: in ParseStatementOrDeclarationAfterAttributes() argument
H A DParseDecl.cpp4735 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) case tok::kw___##Trait: in ParseDeclarationSpecifiers() argument
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp394 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) case TST_##Trait: in isDeclarationOfFunction() argument
600 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) \ in getSpecifierName() argument
601 case DeclSpec::TST_##Trait: \ in getSpecifierName()
602 return "__" #Trait; in getSpecifierName()
H A DSemaTemplateVariadic.cpp888 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) case TST_##Trait: in containsUnexpandedParameterPacks() argument
H A DSemaType.cpp869 #define TRANSFORM_TYPE_TRAIT_DEF(Enum, Trait) \ in TSTToUnaryTransformType() argument
870 case TST_##Trait: \ in TSTToUnaryTransformType()
1281 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) case DeclSpec::TST_##Trait: in ConvertDeclSpecToType() argument
H A DTreeTransform.h3439 ExprResult RebuildTypeTrait(TypeTrait Trait, in RebuildTypeTrait() argument
3443 return getSema().BuildTypeTrait(Trait, StartLoc, Args, RParenLoc); in RebuildTypeTrait()
3450 ExprResult RebuildArrayTypeTrait(ArrayTypeTrait Trait, in RebuildArrayTypeTrait() argument
3455 return getSema().BuildArrayTypeTrait(Trait, StartLoc, TSInfo, DimExpr, RParenLoc); in RebuildArrayTypeTrait()
3462 ExprResult RebuildExpressionTrait(ExpressionTrait Trait, in RebuildExpressionTrait() argument
3466 return getSema().BuildExpressionTrait(Trait, StartLoc, Queried, RParenLoc); in RebuildExpressionTrait()
H A DSemaDeclCXX.cpp1049 SourceLocation Loc, StringRef Trait, in lookupStdTypeTraitMember() argument
1069 LookupResult Result(S, &S.PP.getIdentifierTable().get(Trait), in lookupStdTypeTraitMember()
1080 S.Diag(Loc, diag::err_std_type_trait_not_class_template) << Trait; in lookupStdTypeTraitMember()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DGlobalModuleIndex.cpp811 IdentifierIndexWriterTrait Trait; in writeIndex() local
817 Generator.insert(I->first(), I->second, Trait); in writeIndex()
828 BucketOffset = Generator.Emit(Out, Trait); in writeIndex()
H A DASTWriter.cpp3569 ASTMethodPoolTrait Trait(*this); in WriteSelectors() local
3615 Generator.insert(S, Data, Trait); in WriteSelectors()
3624 ASTMethodPoolTrait Trait(*this); in WriteSelectors() local
3628 BucketOffset = Generator.Emit(Out, Trait); in WriteSelectors()
3899 ASTIdentifierTableTrait Trait(*this, PP, IdResolver, IsModule, in WriteIdentifierTable() local
3913 (Trait.needDecls() && in WriteIdentifierTable()
3915 Generator.insert(II, ID, Trait); in WriteIdentifierTable()
3927 BucketOffset = Generator.Emit(Out, Trait); in WriteIdentifierTable()
4168 ASTDeclContextNameLookupTrait Trait(*this); in GenerateNameLookupTable() local
4311 Generator.insert(Name, Trait.getData(Result), Trait); in GenerateNameLookupTable()
[all …]
H A DASTReader.cpp2245 ASTIdentifierLookupTrait Trait(IdTable->getInfoObj().getReader(), M, in operator ()() local
2249 IdTable->find_hashed(Name, NameHash, &Trait); in operator ()()
4524 ASTIdentifierLookupTrait Trait(*this, F); in ReadAST() local
4525 auto KeyDataLen = Trait.ReadKeyDataLength(Data); in ReadAST()
4526 auto Key = Trait.ReadKey(Data, KeyDataLen.first); in ReadAST()
4556 auto ID = Trait.ReadIdentifierID(Data + KeyDataLen.first); in ReadAST()
8970 ASTIdentifierLookupTrait Trait(*this, *M); in DecodeIdentifierInfo() local
8971 auto KeyDataLen = Trait.ReadKeyDataLength(Data); in DecodeIdentifierInfo()
8972 auto Key = Trait.ReadKey(Data, KeyDataLen.first); in DecodeIdentifierInfo()
9154 ASTSelectorLookupTrait Trait(*this, M); in DecodeSelector() local
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h315 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) \ argument
316 static const TST TST_##Trait = clang::TST_##Trait;
473 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) TST_##Trait, in isTransformTypeTrait() argument
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatToken.h795 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) tok::kw___##Trait, in isFunctionLikeKeyword() argument
H A DTokenAnnotator.cpp441 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) tok::kw___##Trait, in parseParens() argument
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DJSONNodeDumper.cpp751 #define TRANSFORM_TYPE_TRAIT_DEF(Enum, Trait) \ in VisitUnaryTransformType() argument
753 JOS.attribute("transformKind", #Trait); \ in VisitUnaryTransformType()
H A DTextNodeDumper.cpp1981 #define TRANSFORM_TYPE_TRAIT_DEF(Enum, Trait) \ in VisitUnaryTransformType() argument
1983 OS << " " #Trait; \ in VisitUnaryTransformType()
H A DTypePrinter.cpp1265 #define TRANSFORM_TYPE_TRAIT_DEF(Enum, Trait) \ in printUnaryTransformBefore() argument
1266 {UnaryTransformType::Enum, "__" #Trait}, in printUnaryTransformBefore()
H A DItaniumMangle.cpp4378 #define TRANSFORM_TYPE_TRAIT_DEF(Enum, Trait) \ in mangleType() argument
4380 BuiltinName = "__" #Trait; \ in mangleType()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp107 #define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) case tok::kw___##Trait: in isSimpleTypeSpecifier() argument
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp909 template <typename Trait, typename Printer, typename... Args>
926 if (LCtx && !State->get<Trait>().isEmpty()) { in printStateTraitWithLocationContextJson()

12