/external/clang/lib/AST/ |
TemplateBase.cpp | 33 /// \param TemplArg the TemplateArgument instance to print. 36 static void printIntegral(const TemplateArgument &TemplArg, 54 // TemplateArgument Implementation 57 TemplateArgument::TemplateArgument(ASTContext &Ctx, const llvm::APSInt &Value, 76 TemplateArgument TemplateArgument::CreatePackCopy(ASTContext &Context, 77 const TemplateArgument *Args, 82 TemplateArgument *Storage = new (Context) TemplateArgument [NumArgs] [all...] |
TypeLoc.cpp | 354 const TemplateArgument *Args, 359 case TemplateArgument::Null: 360 llvm_unreachable("Impossible TemplateArgument"); 362 case TemplateArgument::Integral: 363 case TemplateArgument::Declaration: 364 case TemplateArgument::NullPtr: 368 case TemplateArgument::Expression: 372 case TemplateArgument::Type: 378 case TemplateArgument::Template: 379 case TemplateArgument::TemplateExpansion: [all...] |
TemplateName.cpp | 25 TemplateArgument 27 return TemplateArgument(Arguments, size()); 43 Profile(ID, Context, Parameter, TemplateArgument(Arguments, size())); 49 const TemplateArgument &ArgPack) {
|
DeclTemplate.cpp | 166 const TemplateArgument *Args, unsigned NumArgs, 179 TemplateArgument *Args) { 183 TemplateArgument Arg; 189 Arg = TemplateArgument(ArgType); 200 Arg = TemplateArgument(E); 204 Arg = TemplateArgument(TemplateName(TTP), Optional<unsigned>()); 206 Arg = TemplateArgument(TemplateName(TTP)); 210 Arg = TemplateArgument::CreatePackCopy(Context, &Arg, 1); 266 FunctionTemplateDecl::findSpecialization(const TemplateArgument *Args, 281 ArrayRef<TemplateArgument> FunctionTemplateDecl::getInjectedTemplateArgs() [all...] |
ASTDiagnostic.cpp | 695 typedef const TemplateArgument& reference; 696 typedef const TemplateArgument* pointer; 710 /// points to a TemplateArgument within a parameter pack. 711 TemplateArgument::pack_iterator CurrentTA; 714 TemplateArgument::pack_iterator EndTA; 725 TemplateArgument TA = TST->getArg(0); 726 if (TA.getKind() != TemplateArgument::Pack) return; 766 // If the TemplateArgument is not a parameter pack, done. 767 TemplateArgument TA = TST->getArg(Index); 768 if (TA.getKind() != TemplateArgument::Pack) break [all...] |
DumpXML.cpp | 308 void dispatch(const TemplateArgument &A) { 310 case TemplateArgument::Null: { 314 case TemplateArgument::Type: { 318 case TemplateArgument::Template: 319 case TemplateArgument::TemplateExpansion: 320 case TemplateArgument::NullPtr: 324 case TemplateArgument::Declaration: { 328 case TemplateArgument::Integral: { 335 case TemplateArgument::Expression: { 339 case TemplateArgument::Pack: [all...] |
ASTImporter.cpp | 119 TemplateArgument ImportTemplateArgument(const TemplateArgument &From); 120 bool ImportTemplateArguments(const TemplateArgument *FromArgs, 122 SmallVectorImpl<TemplateArgument> &ToArgs); 293 const TemplateArgument &Arg1, 294 const TemplateArgument &Arg2) { 299 case TemplateArgument::Null: 302 case TemplateArgument::Type: 305 case TemplateArgument::Integral: 312 case TemplateArgument::Declaration [all...] |
StmtProfile.cpp | 66 void VisitTemplateArgument(const TemplateArgument &Arg); 1217 void StmtProfiler::VisitTemplateArgument(const TemplateArgument &Arg) { 1218 // Mostly repetitive with TemplateArgument::Profile! 1221 case TemplateArgument::Null: 1224 case TemplateArgument::Type: 1228 case TemplateArgument::Template: 1229 case TemplateArgument::TemplateExpansion: 1233 case TemplateArgument::Declaration: 1237 case TemplateArgument::NullPtr: [all...] |
MicrosoftMangle.cpp | 137 void mangleTemplateArg(const TemplateDecl *TD, const TemplateArgument &TA, [all...] |
ItaniumMangle.cpp | 321 const TemplateArgument *TemplateArgs, 339 const TemplateArgument *TemplateArgs, 376 void mangleTemplateArgs(const TemplateArgument *TemplateArgs, 379 void mangleTemplateArg(TemplateArgument A); 619 const TemplateArgument *TemplateArgs, [all...] |
Type.cpp | [all...] |
/external/clang/include/clang/AST/ |
TemplateBase.h | 39 class TemplateArgument { 82 // TemplateArgument instances. 92 const TemplateArgument *Args; 107 TemplateArgument(TemplateName, bool) LLVM_DELETED_FUNCTION; 111 TemplateArgument() : Kind(Null), TypeOrValue(0) { } 114 TemplateArgument(QualType T, bool isNullPtr = false) 122 TemplateArgument(ValueDecl *D, bool ForRefParam) : Kind(Declaration) { 130 TemplateArgument(ASTContext &Ctx, const llvm::APSInt &Value, QualType Type); 134 TemplateArgument(const TemplateArgument &Other, QualType Type [all...] |
ASTTypeTraits.h | 111 KIND_TO_KIND_ID(TemplateArgument) 260 llvm::AlignedCharArrayUnion<KindsByPointer, TemplateArgument, 290 TemplateArgument, void> : public ValueConverter<TemplateArgument> {};
|
DeclTemplate.h | 155 llvm::PointerIntPair<const TemplateArgument *, 1> Arguments; 164 TemplateArgumentList(const TemplateArgument *Args, unsigned NumArgs, 176 const TemplateArgument *Args, 184 const TemplateArgument *Args, unsigned NumArgs) 197 const TemplateArgument &get(unsigned Idx) const { 203 const TemplateArgument &operator[](unsigned Idx) const { return get(Idx); } 206 llvm::ArrayRef<TemplateArgument> asArray() const { 207 return llvm::ArrayRef<TemplateArgument>(data(), size()); 215 const TemplateArgument *data() const { 387 Profile(llvm::FoldingSetNodeID &ID, const TemplateArgument *TemplateArgs [all...] |
TemplateName.h | 35 class TemplateArgument; 122 const TemplateArgument *Arguments; 127 const TemplateArgument *Arguments) 138 TemplateArgument getArgumentPack() const; 145 const TemplateArgument &ArgPack);
|
RecursiveASTVisitor.h | 219 bool TraverseTemplateArgument(const TemplateArgument &Arg); 233 bool TraverseTemplateArguments(const TemplateArgument *Args, 728 const TemplateArgument &Arg) { 730 case TemplateArgument::Null: 731 case TemplateArgument::Declaration: 732 case TemplateArgument::Integral: 733 case TemplateArgument::NullPtr: 736 case TemplateArgument::Type: 739 case TemplateArgument::Template: 740 case TemplateArgument::TemplateExpansion [all...] |
/external/clang/include/clang/Sema/ |
Template.h | 44 typedef ArrayRef<TemplateArgument> ArgList; 65 const TemplateArgument &operator()(unsigned Depth, unsigned Index) const { 86 TemplateArgument Arg) { 89 const_cast<TemplateArgument&>( 139 class DeducedTemplateArgument : public TemplateArgument { 146 : TemplateArgument(), DeducedFromArrayBound(false) { } 148 DeducedTemplateArgument(const TemplateArgument &Arg, 150 : TemplateArgument(Arg), DeducedFromArrayBound(DeducedFromArrayBound) { } 158 : TemplateArgument(Ctx, Value, ValueType), 233 const TemplateArgument *ArgsInPartiallySubstitutedPack; [all...] |
TemplateDeduction.h | 147 TemplateArgument FirstArg; 156 TemplateArgument SecondArg; 201 const TemplateArgument *getFirstArg(); 205 const TemplateArgument *getSecondArg();
|
/external/clang/lib/Sema/ |
SemaTemplateDeduction.cpp | 89 const TemplateArgument &Param, 90 TemplateArgument Arg, 134 const TemplateArgument *Params, unsigned NumParams, 135 const TemplateArgument *Args, unsigned NumArgs, 187 case TemplateArgument::Null: 190 case TemplateArgument::Type: 192 if (Y.getKind() == TemplateArgument::Type && 198 case TemplateArgument::Integral: 202 if (Y.getKind() == TemplateArgument::Expression || 203 Y.getKind() == TemplateArgument::Declaration | [all...] |
SemaTemplateInstantiate.cpp | 236 ArrayRef<TemplateArgument> TemplateArgs, 261 ArrayRef<TemplateArgument> TemplateArgs, 290 ArrayRef<TemplateArgument> TemplateArgs, 315 ArrayRef<TemplateArgument> TemplateArgs, 338 ArrayRef<TemplateArgument> TemplateArgs, 362 ArrayRef<TemplateArgument> TemplateArgs, 386 ArrayRef<TemplateArgument> TemplateArgs, 410 ArrayRef<TemplateArgument> TemplateArgs, [all...] |
SemaTemplateVariadic.cpp | 151 bool TraverseTemplateArgument(const TemplateArgument &Arg) { 364 void Sema::collectUnexpandedParameterPacks(TemplateArgument Arg, 857 const TemplateArgument &Argument = OrigLoc.getArgument(); 860 case TemplateArgument::Type: { 881 return TemplateArgumentLoc(TemplateArgument(Pattern.getType()), 885 case TemplateArgument::Expression: [all...] |
SemaTemplate.cpp | 508 return TemplateArgumentLoc(TemplateArgument(T), DI); 513 return TemplateArgumentLoc(TemplateArgument(E), E); 518 TemplateArgument TArg; 520 TArg = TemplateArgument(Template, Optional<unsigned int>()); 735 TemplateArgument Converted; [all...] |
/external/clang/tools/libclang/ |
RecursiveASTVisitor.h | 212 bool TraverseTemplateArgument(const TemplateArgument &Arg); 226 bool TraverseTemplateArguments(const TemplateArgument *Args, 662 const TemplateArgument &Arg) { 664 case TemplateArgument::Null: 665 case TemplateArgument::Declaration: 666 case TemplateArgument::Integral: 667 case TemplateArgument::NullPtr: 670 case TemplateArgument::Type: 673 case TemplateArgument::Template: 674 case TemplateArgument::TemplateExpansion [all...] |
CIndexUSRs.cpp | 131 void VisitTemplateArgument(const TemplateArgument &Arg); 728 void USRGenerator::VisitTemplateArgument(const TemplateArgument &Arg) { 730 case TemplateArgument::Null: 733 case TemplateArgument::Declaration: 737 case TemplateArgument::NullPtr: 740 case TemplateArgument::TemplateExpansion: 743 case TemplateArgument::Template: 747 case TemplateArgument::Expression: 751 case TemplateArgument::Pack: 753 for (TemplateArgument::pack_iterator P = Arg.pack_begin(), PEnd = Arg.pack_end() [all...] |
/external/clang/lib/Serialization/ |
ASTReader.cpp | [all...] |