Home
last modified time | relevance | path

Searched refs:Instantiation (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDependenceFlags.h27 Instantiation = 2, enumerator
41 TypeInstantiation = Type | Instantiation,
42 ValueInstantiation = Value | Instantiation,
43 TypeValueInstantiation = Type | Value | Instantiation,
60 Instantiation = 2, enumerator
75 DependentInstantiation = Dependent | Instantiation,
86 Instantiation = 2, \
91 DependentInstantiation = Dependent | Instantiation, \
116 Instantiation = 2, in LLVM_COMMON_DEPENDENCE() enumerator
132 Syntactic = UnexpandedPack | Instantiation | Error, in LLVM_COMMON_DEPENDENCE()
[all …]
H A DType.h2681 return getDependence() & TypeDependence::Instantiation;
6966 TypeDependence::Instantiation) &
H A DExpr.h222 return static_cast<bool>(getDependence() & ExprDependence::Instantiation); in isInstantiationDependent()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp3298 Sema::SubstBaseSpecifiers(CXXRecordDecl *Instantiation, in SubstBaseSpecifiers() argument
3307 Instantiation->setInvalidDecl(); in SubstBaseSpecifiers()
3349 = CheckBaseSpecifier(Instantiation, in SubstBaseSpecifiers()
3383 = CheckBaseSpecifier(Instantiation, in SubstBaseSpecifiers()
3394 if (!Invalid && AttachBaseSpecifiers(Instantiation, InstantiatedBases)) in SubstBaseSpecifiers()
3413 CXXRecordDecl *Instantiation, CXXRecordDecl *Pattern, in InstantiateClass() argument
3419 if (DiagnoseUninstantiableTemplate(PointOfInstantiation, Instantiation, in InstantiateClass()
3420 Instantiation->getInstantiatedFromMemberClass(), in InstantiateClass()
3427 Instantiation->getNameForDiagnostic(OS, getPrintingPolicy(), in InstantiateClass()
3430 auto Loc = SourceMgr.getExpansionLoc(Instantiation->getLocation()); in InstantiateClass()
[all …]
H A DSemaTemplateVariadic.cpp732 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Instantiation = in CheckParameterPacksForExpansion() local
735 if (Instantiation->is<DeclArgumentPack *>()) { in CheckParameterPacksForExpansion()
737 NewPackSize = Instantiation->get<DeclArgumentPack *>()->size(); in CheckParameterPacksForExpansion()
850 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Instantiation = in getNumArgumentsInExpansion() local
853 if (Instantiation->is<Decl *>()) in getNumArgumentsInExpansion()
858 unsigned Size = Instantiation->get<DeclArgumentPack *>()->size(); in getNumArgumentsInExpansion()
H A DSemaTemplate.cpp766 NamedDecl *Instantiation, in DiagnoseUninstantiableTemplate() argument
772 assert(isa<TagDecl>(Instantiation) || isa<FunctionDecl>(Instantiation) || in DiagnoseUninstantiableTemplate()
773 isa<VarDecl>(Instantiation)); in DiagnoseUninstantiableTemplate()
798 if (TagDecl *TD = dyn_cast<TagDecl>(Instantiation)) in DiagnoseUninstantiableTemplate()
807 Instantiation->setInvalidDecl(); in DiagnoseUninstantiableTemplate()
809 if (isa<FunctionDecl>(Instantiation)) { in DiagnoseUninstantiableTemplate()
812 << /*member function*/ 1 << Instantiation->getDeclName() in DiagnoseUninstantiableTemplate()
813 << Instantiation->getDeclContext(); in DiagnoseUninstantiableTemplate()
816 assert(isa<TagDecl>(Instantiation) && "Must be a TagDecl!"); in DiagnoseUninstantiableTemplate()
823 if (isa<FunctionDecl>(Instantiation)) { in DiagnoseUninstantiableTemplate()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DComputeDependence.cpp94 if ((Deps & ExprDependence::Value) && (Deps & ExprDependence::Instantiation)) in computeDependence()
235 (ExprDependence::Instantiation | ExprDependence::Error); in computeDependence()
240 E->getSubExpr()->getDependence() | ExprDependence::Instantiation; in computeDependence()
242 D &= ~ExprDependence::Instantiation; in computeDependence()
248 ExprDependence::Instantiation; in computeDependence()
258 D |= ExprDependence::Instantiation; in computeDependence()
385 ExprDependence::Instantiation; in computeDependence()
389 D |= PatternDep | ExprDependence::Instantiation; in computeDependence()
535 Deps |= ExprDependence::Instantiation; in computeDependence()
550 Deps |= ExprDependence::Instantiation; in computeDependence()
[all …]
H A DTemplateBase.cpp282 TemplateArgumentDependence::Instantiation; in getDependence()
290 TemplateArgumentDependence::Instantiation; in getDependence()
303 TemplateArgumentDependence::Instantiation; in getDependence()
319 return getDependence() & TemplateArgumentDependence::Instantiation; in isInstantiationDependent()
H A DNestedNameSpecifier.cpp206 NestedNameSpecifierDependence::Instantiation; in getDependence()
239 return getDependence() & NestedNameSpecifierDependence::Instantiation; in isInstantiationDependent()
H A DTemplateName.cpp260 return getDependence() & TemplateNameDependence::Instantiation; in isInstantiationDependent()
H A DType.cpp326 TypeDependence::Instantiation | in MatrixType()
3589 (TypeDependence::Instantiation | TypeDependence::UnexpandedPack)); in FunctionProtoType()
3605 (TypeDependence::Instantiation | TypeDependence::UnexpandedPack)); in FunctionProtoType()
/freebsd/contrib/llvm-project/libcxx/include/experimental/
H A Dpropagate_const158 …static_assert(!is_array<_Tp>::value, "Instantiation of propagate_const with an array type is ill-f…
159 …static_assert(!is_reference<_Tp>::value, "Instantiation of propagate_const with a reference type i…
161 "Instantiation of propagate_const with a function-pointer type is ill-formed.");
163 … "Instantiation of propagate_const with a pointer to (possibly cv-qualified) void is ill-formed.");
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCondMov.td105 // Instantiation of instructions.
198 // Instantiation of conditional move patterns.
H A DMicroMipsInstrInfo.td1290 // Instantiation of conditional move patterns.
1301 // Instantiation of conditional move patterns.
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMasmParser.cpp1216 std::unique_ptr<MemoryBuffer> Instantiation = in expandMacros() local
1221 SrcMgr.AddNewSourceBuffer(std::move(Instantiation), Tok.getEndLoc()); in expandMacros()
3241 std::unique_ptr<MemoryBuffer> Instantiation = in handleMacroEntry() local
3253 CurBuffer = SrcMgr.AddNewSourceBuffer(std::move(Instantiation), SMLoc()); in handleMacroEntry()
6914 std::unique_ptr<MemoryBuffer> Instantiation = in instantiateMacroLikeBody() local
6924 CurBuffer = SrcMgr.AddNewSourceBuffer(std::move(Instantiation), SMLoc()); in instantiateMacroLikeBody()
H A DAsmParser.cpp2898 std::unique_ptr<MemoryBuffer> Instantiation = in handleMacroEntry() local
2910 CurBuffer = SrcMgr.AddNewSourceBuffer(std::move(Instantiation), SMLoc()); in handleMacroEntry()
5679 std::unique_ptr<MemoryBuffer> Instantiation = in instantiateMacroLikeBody() local
5689 CurBuffer = SrcMgr.AddNewSourceBuffer(std::move(Instantiation), SMLoc()); in instantiateMacroLikeBody()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h11167 NamedDecl *Instantiation,
13360 bool SubstBaseSpecifiers(CXXRecordDecl *Instantiation, CXXRecordDecl *Pattern,
13386 CXXRecordDecl *Instantiation, CXXRecordDecl *Pattern,
13406 EnumDecl *Instantiation, EnumDecl *Pattern,
13425 SourceLocation PointOfInstantiation, FieldDecl *Instantiation,
13441 CXXRecordDecl *Instantiation,
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrP10.td2027 // Instantiation of the set boolean reverse patterns for 32-bit integers.
2034 // Instantiation of the set boolean reverse patterns for 64-bit integers.
2042 // Instantiation of the set boolean reverse patterns for f32, f64, f128.
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticSemaKinds.td5496 // C++ Template Instantiation
5612 // C++ Explicit Instantiation