Searched refs:Trait (Results 1 – 7 of 7) sorted by relevance
/external/clang/test/SemaObjCXX/ |
D | arc-type-traits.mm | 11 #define TRAIT_IS_TRUE(Trait, Type) char JOIN2(Trait,__LINE__)[Trait(Type)? 1 : -1] 12 #define TRAIT_IS_FALSE(Trait, Type) char JOIN2(Trait,__LINE__)[Trait(Type)? -1 : 1] 13 #define TRAIT_IS_TRUE_2(Trait, Type1, Type2) char JOIN2(Trait,__LINE__)[Trait(Type1, Type2)? 1 : -1] 14 #define TRAIT_IS_FALSE_2(Trait, Type1, Type2) char JOIN2(Trait,__LINE__)[Trait(Type1, Type2)? -1 : …
|
/external/clang/test/Misc/ |
D | diag-template-diffing.cpp | 907 template <typename> struct Trait { struct 914 template <typename T, int = Trait<T>::V > struct A {}; 915 template <typename T, typename = Trait<T>::Ty > struct B {}; 916 template <typename T, int& = Trait<T>::I > struct C {};
|
/external/clang/lib/Serialization/ |
D | GlobalModuleIndex.cpp | 729 IdentifierIndexWriterTrait Trait; in writeIndex() local 735 Generator.insert(I->first(), I->second, Trait); in writeIndex() 746 BucketOffset = Generator.Emit(Out, Trait); in writeIndex()
|
D | ASTWriter.cpp | 2993 ASTMethodPoolTrait Trait(*this); in WriteSelectors() local 3032 Generator.insert(S, Data, Trait); in WriteSelectors() 3040 ASTMethodPoolTrait Trait(*this); in WriteSelectors() local 3044 BucketOffset = Generator.Emit(Out, Trait); in WriteSelectors() 3466 ASTIdentifierTableTrait Trait(*this, PP, IdResolver, IsModule); in WriteIdentifierTable() local 3492 Generator.insert(II, ID, Trait); in WriteIdentifierTable() 3500 ASTIdentifierTableTrait Trait(*this, PP, IdResolver, IsModule); in WriteIdentifierTable() local 3504 BucketOffset = Generator.Emit(Out, Trait); in WriteIdentifierTable() 3699 ASTDeclContextNameLookupTrait Trait(*this); in GenerateNameLookupTable() local 3833 Generator.insert(Name, Result, Trait); in GenerateNameLookupTable() [all …]
|
D | ASTReader.cpp | 1726 ASTIdentifierLookupTrait Trait(IdTable->getInfoObj().getReader(), in visit() local 1729 ASTIdentifierLookupTable::iterator Pos = IdTable->find(This->Name,&Trait); in visit() 7665 ASTSelectorLookupTrait Trait(*this, M); in DecodeSelector() local 7668 Trait.ReadKey(M.SelectorLookupTableData + M.SelectorOffsets[Idx], 0); in DecodeSelector()
|
/external/clang/lib/Sema/ |
D | TreeTransform.h | 2358 ExprResult RebuildTypeTrait(TypeTrait Trait, in RebuildTypeTrait() argument 2362 return getSema().BuildTypeTrait(Trait, StartLoc, Args, RParenLoc); in RebuildTypeTrait() 2369 ExprResult RebuildArrayTypeTrait(ArrayTypeTrait Trait, in RebuildArrayTypeTrait() argument 2374 return getSema().BuildArrayTypeTrait(Trait, StartLoc, TSInfo, DimExpr, RParenLoc); in RebuildArrayTypeTrait() 2381 ExprResult RebuildExpressionTrait(ExpressionTrait Trait, in RebuildExpressionTrait() argument 2385 return getSema().BuildExpressionTrait(Trait, StartLoc, Queried, RParenLoc); in RebuildExpressionTrait()
|
/external/clang/docs/ |
D | LanguageExtensions.rst | 946 Checks for Type Trait Primitives
|