Searched refs:TemplatedDecl (Results 1 – 6 of 6) sorted by relevance
/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 335 : NamedDecl(DK, DC, L, Name), TemplatedDecl(nullptr, false), in TemplateDecl() 342 : NamedDecl(DK, DC, L, Name), TemplatedDecl(nullptr, false), in TemplateDecl() 348 : NamedDecl(DK, DC, L, Name), TemplatedDecl(Decl, false), in TemplateDecl() 358 NamedDecl *getTemplatedDecl() const { return TemplatedDecl.getPointer(); } in getTemplatedDecl() 368 TemplatedDecl.getPointer()->getSourceRange().getEnd()); in getSourceRange() 372 bool isConcept() const { return TemplatedDecl.getInt(); } in isConcept() 373 void setConcept() { TemplatedDecl.setInt(true); } in setConcept() 381 llvm::PointerIntPair<NamedDecl *, 1, bool> TemplatedDecl; 389 assert(!TemplatedDecl.getPointer() && "TemplatedDecl already set!"); in init() 391 TemplatedDecl.setPointer(templatedDecl); in init() [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclTemplate.h | 430 NamedDecl *getTemplatedDecl() const { return TemplatedDecl; } in getTemplatedDecl() 441 TemplatedDecl->getSourceRange().getEnd()); in getSourceRange() 445 NamedDecl *TemplatedDecl; 456 assert(!TemplatedDecl && "TemplatedDecl already set!"); in init() 458 TemplatedDecl = templatedDecl; in init() 1029 return static_cast<FunctionDecl *>(TemplatedDecl); 2291 return static_cast<CXXRecordDecl *>(TemplatedDecl); 2537 return static_cast<TypeAliasDecl *>(TemplatedDecl); 3120 return static_cast<VarDecl *>(TemplatedDecl);
|
/external/llvm-project/clang-tools-extra/clangd/refactor/ |
D | Rename.cpp | 102 if (const NamedDecl *TemplatedDecl = Template->getTemplatedDecl()) in canonicalRenameDecl() local 103 return canonicalRenameDecl(TemplatedDecl); in canonicalRenameDecl()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclTemplate.cpp | 199 : NamedDecl(DK, DC, L, Name), TemplatedDecl(Decl), TemplateParams(Params) {} in TemplateDecl()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 1859 NamedDecl *TemplatedDecl = cast_or_null<NamedDecl>(Reader.GetDecl(PatternID)); in VisitTemplateDecl() local 1862 D->init(TemplatedDecl, TemplateParams); in VisitTemplateDecl()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 2058 auto *TemplatedDecl = cast_or_null<NamedDecl>(Reader.GetDecl(PatternID)); in VisitTemplateDecl() local 2060 D->init(TemplatedDecl, TemplateParams); in VisitTemplateDecl()
|