Home
last modified time | relevance | path

Searched defs:Template (Results 1 – 25 of 101) sorted by relevance

12345

/llvm-project/clang/test/CXX/over/over.load/
H A Dp2-0x.cpp65 struct Template { struct
66 static constexpr int i = I;
73 struct Template<float, I> { struct
74 static constexpr int i = I;
/llvm-project/llvm/test/tools/dsymutil/X86/
H A Dmodules-pruning.cpp45 class Template { class
48 Template() {} in Template() function in M::Template
/llvm-project/clang/tools/libclang/
H A DCIndexCXX.cpp56 if (const TemplateDecl *Template clang_getTemplateCursorKind() local
94 Decl *Template = nullptr; clang_getSpecializedCursorTemplate() local
[all...]
/llvm-project/clang/include/clang/Sema/
H A DParsedTemplate.h38 Template enumerator
63 ParsedTemplateTy Template, in ParsedTemplateArgument()
169 ParsedTemplateTy Template; member
/llvm-project/clang/test/SemaCXX/
H A Dnonnull.cpp16 namespace Template { namespace
H A Dwarn-bool-conversion.cpp217 namespace Template { namespace
/llvm-project/clang-tools-extra/clang-tidy/hicpp/
H A DExceptionBaseclassCheck.cpp48 if (const auto *Template = in check() local
/llvm-project/lldb/test/Shell/SymbolFile/PDB/Inputs/
H A DAstRestoreTest.cpp48 struct Template { struct
50 void TemplateFunc() { in TemplateFunc()
/llvm-project/clang/unittests/AST/
H A DTemplateNameTest.cpp39 const auto *Template = selectFirst<TemplateArgumentLoc>("id", MatchResults); in TEST() local
68 const auto *Template = selectFirst<TemplateArgumentLoc>("id", MatchResults); in TEST() local
/llvm-project/clang-tools-extra/unittests/clang-tidy/
H A DAddConstTest.cpp812 TEST(Template, TemplateVariable) { in TEST() argument
825 TEST(Template, FunctionValue) { in TEST() argument
840 TEST(Template, FunctionPointer) { in TEST() argument
855 TEST(Template, FunctionReference) { in TEST() argument
870 TEST(Template, MultiInstantiationsFunction) { in TEST() argument
901 TEST(Template, StructValue) { in TEST() argument
917 TEST(Template, StructPointer) { in TEST() argument
933 TEST(Template, StructReference) { in TEST() argument
949 TEST(Template, DependentReturnFunction) { in TEST() argument
965 TEST(Template, DependentReturnPointerFunctio in TEST() argument
981 TEST(Template,DependentReturnReferenceFunction) TEST() argument
997 TEST(Template,VectorLikeType) TEST() argument
1013 TEST(Template,SpecializedTemplate) TEST() argument
[all...]
/llvm-project/clang/test/Parser/
H A Dcxx0x-keyword-attributes.cpp175 template<typename> struct Template {}; struct
181 template struct ATTR_USE Template<char>; // expected-error {{'ATTR_NAME' cannot appear here}} variable
182 template struct __attribute__((pure)) Template<std::size_t>; // We still allow GNU-style attributes… variable
183 template <> struct ATTR_USE Template<void>; // expected-error {{'ATTR_NAME' only applies to non-K&R… variable
/llvm-project/clang/include/clang/Tooling/
H A DRefactoringCallbacks.h108 std::vector<TemplateElement> Template; variable
/llvm-project/clang/lib/AST/
H A DTemplateName.cpp288 case NameKind::Template: in print() local
106 TemplateName(TemplateDecl * Template) TemplateName() argument
236 if (TemplateDecl *Template = getAsTemplateDecl()) { getDependence() local
[all...]
/llvm-project/clang-tools-extra/clang-tidy/mpi/
H A DTypeMismatchCheck.cpp173 isCXXComplexTypeMatching(const TemplateSpecializationType *const Template, in isCXXComplexTypeMatching()
314 } else if (const auto *Template = BT->getAs<TemplateSpecializationType>()) { in checkArguments() local
/llvm-project/clang-tools-extra/clangd/
H A DExpectedTypes.cpp46 if (auto *Template = dyn_cast_or_null<TemplateDecl>(D)) in typeOfCompletion() local
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dunconventional-assign-operator.cpp105 struct Template { struct
106 Template &operator=(const Template &) { return this; } in operator =()
/llvm-project/clang/test/CodeGen/
H A Dbounds-checking-fam.c158 template<int N> struct Template { struct
163 int test_template(Template<1> *p, int i) { in test_template() argument
/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp106 TypeAliasTemplateDecl *Template = nullptr; global() member
586 InstantiatingTemplate(Sema & SemaRef,CodeSynthesisContext::SynthesisKind Kind,SourceLocation PointOfInstantiation,SourceRange InstantiationRange,Decl * Entity,NamedDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,sema::TemplateDeductionInfo * DeductionInfo) InstantiatingTemplate() argument
634 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,TemplateParameter Param,TemplateDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
658 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,TemplateDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument
699 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,NamedDecl * Template,NonTypeTemplateParmDecl * Param,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
709 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,NamedDecl * Template,TemplateTemplateParmDecl * Param,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
728 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,TemplateDecl * Template,NamedDecl * Param,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
766 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ConstraintsCheck,NamedDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
775 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ConstraintSubstitution,NamedDecl * Template,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument
784 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ConstraintNormalization,NamedDecl * Template,SourceRange InstantiationRange) InstantiatingTemplate() argument
792 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ParameterMappingSubstitution,NamedDecl * Template,SourceRange InstantiationRange) InstantiatingTemplate() argument
969 TemplateDecl *Template = cast<TemplateDecl>(Active->Template); PrintInstantiationStack() local
1055 if (TemplateDecl *Template = dyn_cast<TemplateDecl>(Active->Template)) PrintInstantiationStack() local
1074 if (TemplateDecl *Template = dyn_cast<TemplateDecl>(Active->Template)) PrintInstantiationStack() local
1829 TemplateName Template = Arg.getAsTemplate(); TransformDecl() local
2002 TemplateName Template = Arg.getAsTemplate(); TransformTemplateName() local
2018 TemplateName Template = TransformTemplateName() local
3824 ClassTemplateDecl *Template = ClassTemplateSpec->getSpecializedTemplate(); getPatternForClassTemplateSpecialization() local
3941 ClassTemplateDecl *Template = ClassTemplateSpec->getSpecializedTemplate(); getPatternForClassTemplateSpecialization() local
[all...]
/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp1176 ParseTemplateIdAfterTemplateName(bool ConsumeLastToken,SourceLocation & LAngleLoc,TemplateArgList & TemplateArgs,SourceLocation & RAngleLoc,TemplateTy Template) ParseTemplateIdAfterTemplateName() argument
1247 AnnotateTemplateIdToken(TemplateTy Template,TemplateNameKind TNK,CXXScopeSpec & SS,SourceLocation TemplateKWLoc,UnqualifiedId & TemplateName,bool AllowTypeAnnotation,bool TypeConstraint) AnnotateTemplateIdToken() argument
1429 TemplateTy Template; ParseTemplateTemplateArgument() local
1438 TemplateTy Template; ParseTemplateTemplateArgument() local
1548 ParseTemplateArgumentList(TemplateArgList & TemplateArgs,TemplateTy Template,SourceLocation OpenLoc) ParseTemplateArgumentList() argument
[all...]
/llvm-project/clang/lib/Analysis/
H A DRetainSummaryManager.cpp623 RetainSummaryTemplate Template(S, *this); in updateSummaryForReceiverUnconsumedSelf() local
632 RetainSummaryTemplate Template(RS, *this); in updateSummaryForArgumentTypes() local
913 RetainSummaryTemplate &Template) { in applyParamAnnotationEffect()
981 RetainSummaryTemplate Template(Summ, *this); in updateSummaryFromAnnotations() local
1004 RetainSummaryTemplate Template(Summ, *this); in updateSummaryFromAnnotations() local
/llvm-project/clang/test/CXX/basic/basic.link/
H A Dp8.cpp3 template<typename T> struct Template {}; struct
/llvm-project/clang-tools-extra/pseudo/unittests/
H A DDisambiguateTest.cpp
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-equals-default-copy.cpp260 struct Template { struct
262 Template(const Template &Other) : Field(Other.Field) {} in Template() function
270 Template<T> &Template<T>::operator=(const Template<T> &Other) { in operator =() argument
/llvm-project/clang/include/clang/AST/
H A DTemplateName.h220 Template, global() enumerator
454 QualifiedTemplateName(NestedNameSpecifier * NNS,bool TemplateKeyword,TemplateName Template) QualifiedTemplateName() argument
[all...]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Dpro-type-member-init.cpp45 struct Template { struct
46 Template() {} in Template() argument
55 Template<int> TInt; in instantiate() argument

12345