HomeSort by relevance Sort by last modified time
    Searched full:templateargument (Results 1 - 25 of 68) sorted by null

1 2 3

  /external/clang/lib/AST/
TemplateBase.cpp 33 /// \param TemplArg the TemplateArgument instance to print.
38 static void printIntegral(const TemplateArgument &TemplArg,
69 // TemplateArgument Implementation
72 TemplateArgument::TemplateArgument(ASTContext &Ctx, const llvm::APSInt &Value,
91 TemplateArgument
92 TemplateArgument::CreatePackCopy(ASTContext &Context,
93 ArrayRef<TemplateArgument> Args) {
97 return TemplateArgument(Args.copy(Context));
100 bool TemplateArgument::isDependent() const
    [all...]
TypeLoc.cpp 463 const TemplateArgument *Args,
468 case TemplateArgument::Null:
469 llvm_unreachable("Impossible TemplateArgument");
471 case TemplateArgument::Integral:
472 case TemplateArgument::Declaration:
473 case TemplateArgument::NullPtr:
477 case TemplateArgument::Expression:
481 case TemplateArgument::Type:
487 case TemplateArgument::Template:
488 case TemplateArgument::TemplateExpansion:
    [all...]
DeclTemplate.cpp 170 llvm::FoldingSetVector<EntryType> &Specs, ArrayRef<TemplateArgument> Args,
210 TemplateArgument *Args) {
214 TemplateArgument Arg;
220 Arg = TemplateArgument(ArgType);
231 Arg = TemplateArgument(E);
235 Arg = TemplateArgument(TemplateName(TTP), Optional<unsigned>());
237 Arg = TemplateArgument(TemplateName(TTP));
241 Arg = TemplateArgument::CreatePackCopy(Context, Arg);
300 FunctionTemplateDecl::findSpecialization(ArrayRef<TemplateArgument> Args,
311 ArrayRef<TemplateArgument> FunctionTemplateDecl::getInjectedTemplateArgs()
    [all...]
ASTTypeTraits.cpp 26 { NKI_None, "TemplateArgument" },
114 if (const TemplateArgument *TA = get<TemplateArgument>())
TemplateName.cpp 25 TemplateArgument
27 return TemplateArgument(llvm::makeArrayRef(Arguments, size()));
49 const TemplateArgument &ArgPack) {
ASTDiagnostic.cpp 109 SmallVector<TemplateArgument, 4> Args;
111 const TemplateArgument &Arg = TST->getArg(I);
112 if (Arg.getKind() == TemplateArgument::Type)
804 typedef const TemplateArgument& reference;
805 typedef const TemplateArgument* pointer;
819 /// points to a TemplateArgument within a parameter pack.
820 TemplateArgument::pack_iterator CurrentTA;
823 TemplateArgument::pack_iterator EndTA;
834 TemplateArgument TA = TST->getArg(0);
835 if (TA.getKind() != TemplateArgument::Pack) return
    [all...]
ASTImporter.cpp 120 TemplateArgument ImportTemplateArgument(const TemplateArgument &From);
121 bool ImportTemplateArguments(const TemplateArgument *FromArgs,
123 SmallVectorImpl<TemplateArgument> &ToArgs);
338 const TemplateArgument &Arg1,
339 const TemplateArgument &Arg2) {
344 case TemplateArgument::Null:
347 case TemplateArgument::Type:
350 case TemplateArgument::Integral:
357 case TemplateArgument::Declaration
    [all...]
StmtProfile.cpp 67 void VisitTemplateArgument(const TemplateArgument &Arg);
    [all...]
ExprCXX.cpp 80 for (const TemplateArgument &TA : TAL.asArray()) {
84 if (TA.getKind() == TemplateArgument::Type)
86 else if (TA.getKind() == TemplateArgument::Declaration)
    [all...]
  /external/clang/include/clang/AST/
TemplateBase.h 39 class TemplateArgument {
86 // TemplateArgument instances.
98 const TemplateArgument *Args;
117 TemplateArgument(TemplateName, bool) = delete;
121 TemplateArgument() {
127 TemplateArgument(QualType T, bool isNullPtr = false) {
135 TemplateArgument(ValueDecl *D, QualType QT) {
144 TemplateArgument(ASTContext &Ctx, const llvm::APSInt &Value, QualType Type);
148 TemplateArgument(const TemplateArgument &Other, QualType Type)
    [all...]
TemplateName.h 35 class TemplateArgument;
122 const TemplateArgument *Arguments;
127 const TemplateArgument *Arguments)
138 TemplateArgument getArgumentPack() const;
145 const TemplateArgument &ArgPack);
DeclTemplate.h 175 : private llvm::TrailingObjects<TemplateArgumentList, TemplateArgument> {
177 const TemplateArgument *Arguments;
188 TemplateArgumentList(const TemplateArgument *Args, unsigned NumArgs);
198 const TemplateArgument *Args,
205 explicit TemplateArgumentList(OnStackType, const TemplateArgument *Args,
219 const TemplateArgument &get(unsigned Idx) const {
225 const TemplateArgument &operator[](unsigned Idx) const { return get(Idx); }
228 ArrayRef<TemplateArgument> asArray() const {
237 const TemplateArgument *data() const { return Arguments; }
483 Profile(llvm::FoldingSetNodeID &ID, ArrayRef<TemplateArgument> TemplateArgs
    [all...]
RecursiveASTVisitor.h 221 bool TraverseTemplateArgument(const TemplateArgument &Arg);
235 bool TraverseTemplateArguments(const TemplateArgument *Args,
726 const TemplateArgument &Arg) {
728 case TemplateArgument::Null:
729 case TemplateArgument::Declaration:
730 case TemplateArgument::Integral:
731 case TemplateArgument::NullPtr:
734 case TemplateArgument::Type:
737 case TemplateArgument::Template:
738 case TemplateArgument::TemplateExpansion
    [all...]
  /external/clang/test/Misc/
ast-dump-decl.cpp 204 // CHECK-NEXT: TemplateArgument
209 // CHECK-NEXT: TemplateArgument
212 // CHECK-NEXT: TemplateArgument
216 // CHECK-NEXT: TemplateArgument
257 // CHECK-NEXT: TemplateArgument{{.*}}A
265 // CHECK-NEXT: TemplateArgument{{.*}}B
270 // CHECK-NEXT: TemplateArgument{{.*}}C
275 // CHECK-NEXT: TemplateArgument{{.*}}D
280 // CHECK-NEXT: TemplateArgument
281 // CHECK-NEXT: TemplateArgument{{.*}}
    [all...]
  /external/clang/lib/Sema/
SemaTemplateDeduction.cpp 89 const TemplateArgument &Param,
90 TemplateArgument Arg,
108 const TemplateArgument *Params, unsigned NumParams,
109 const TemplateArgument *Args, unsigned NumArgs,
161 case TemplateArgument::Null:
164 case TemplateArgument::Type:
166 if (Y.getKind() == TemplateArgument::Type &&
172 case TemplateArgument::Integral:
176 if (Y.getKind() == TemplateArgument::Expression ||
177 Y.getKind() == TemplateArgument::Declaration |
    [all...]
SemaTemplate.cpp 495 return TemplateArgumentLoc(TemplateArgument(T), DI);
500 return TemplateArgumentLoc(TemplateArgument(E), E);
505 TemplateArgument TArg;
507 TArg = TemplateArgument(Template, Optional<unsigned int>());
719 TemplateArgument Converted;
    [all...]
SemaTemplateVariadic.cpp 151 bool TraverseTemplateArgument(const TemplateArgument &Arg) {
373 void Sema::collectUnexpandedParameterPacks(TemplateArgument Arg,
879 const TemplateArgument &Argument = OrigLoc.getArgument();
882 case TemplateArgument::Type: {
    [all...]
SemaTemplateInstantiate.cpp 206 Decl *Entity, NamedDecl *Template, ArrayRef<TemplateArgument> TemplateArgs,
250 ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange)
260 ArrayRef<TemplateArgument> TemplateArgs,
270 ArrayRef<TemplateArgument> TemplateArgs,
281 ArrayRef<TemplateArgument> TemplateArgs,
291 ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange)
300 NonTypeTemplateParmDecl *Param, ArrayRef<TemplateArgument> TemplateArgs,
310 TemplateTemplateParmDecl *Param, ArrayRef<TemplateArgument> TemplateArgs,
320 NamedDecl *Param, ArrayRef<TemplateArgument> TemplateArgs,
677 TemplateArgument ForgetPartiallySubstitutedPack()
    [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 145 TemplateArgument FirstArg;
154 TemplateArgument SecondArg;
204 const TemplateArgument *getFirstArg();
208 const TemplateArgument *getSecondArg();
  /external/clang/lib/Index/
USRGeneration.cpp 145 void VisitTemplateArgument(const TemplateArgument &Arg);
774 void USRGenerator::VisitTemplateArgument(const TemplateArgument &Arg) {
776 case TemplateArgument::Null:
779 case TemplateArgument::Declaration:
783 case TemplateArgument::NullPtr:
786 case TemplateArgument::TemplateExpansion:
789 case TemplateArgument::Template:
793 case TemplateArgument::Expression:
797 case TemplateArgument::Pack:
803 case TemplateArgument::Type
    [all...]
  /external/clang/tools/libclang/
CXCursor.cpp     [all...]
  /external/clang/unittests/ASTMatchers/Dynamic/
RegistryTest.cpp 271 TEST_F(RegistryTest, TemplateArgument) {
452 "Matcher<TemplateArgument|NestedNameSpecifierLoc|Decl|...> "
453 "hasParent(Matcher<TemplateArgument|NestedNameSpecifierLoc|Decl|...>)"));
460 "Matcher<TemplateArgument|NestedNameSpecifier|NestedNameSpecifierLoc|...>"
461 " hasDescendant(Matcher<TemplateArgument|NestedNameSpecifier|"
470 "hasParent(Matcher<TemplateArgument|"
  /external/clang/test/Modules/
cxx-templates.cpp 194 // CHECK-DUMP-NEXT: TemplateArgument type 'char [1]'
196 // CHECK-DUMP-NEXT: TemplateArgument type 'char [1]'
198 // CHECK-DUMP-NEXT: TemplateArgument type 'char [2]'
200 // CHECK-DUMP-NEXT: TemplateArgument type 'char [2]'
  /external/clang/include/clang/ASTMatchers/
ASTMatchers.h 411 /// templateArgument()
413 const internal::VariadicAllOfMatcher<TemplateArgument> templateArgument;
494 /// TemplateArgument matching the given InnerMatcher.
509 internal::Matcher<TemplateArgument>, InnerMatcher) {
510 ArrayRef<TemplateArgument> List =
593 /// \brief Matches classTemplateSpecializations where the n'th TemplateArgument
609 unsigned, N, internal::Matcher<TemplateArgument>, InnerMatcher) {
610 ArrayRef<TemplateArgument> List =
634 /// \brief Matches a TemplateArgument that refers to a certain type
    [all...]

Completed in 799 milliseconds

1 2 3