Home
last modified time | relevance | path

Searched refs:getRepAsDecl (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DDeclSpec.cpp446 return cast<TagDecl>(getRepAsDecl())->isCompleteDefinition(); in hasTagDefinition()
1446 return isDeclRep(tst) && getRepAsDecl() != nullptr && in isMissingDeclaratorOk()
H A DSemaType.cpp1560 TagDecl *D = dyn_cast_or_null<TagDecl>(DS.getRepAsDecl()); in ConvertDeclSpecToType()
3400 OwnedTagDecl = cast<TagDecl>(D.getDeclSpec().getRepAsDecl()); in GetDeclSpecTypeForDeclarator()
5273 TagDecl *Tag = cast<TagDecl>(D.getDeclSpec().getRepAsDecl()); in GetFullTypeForDeclarator()
H A DSemaDecl.cpp4987 TagD = DS.getRepAsDecl(); in ParsedFreeStandingDeclSpec()
14026 Decls.push_back(DS.getRepAsDecl()); in FinalizeDeclaratorGroup()
14078 if (TagDecl *Tag = dyn_cast_or_null<TagDecl>(DS.getRepAsDecl())) { in FinalizeDeclaratorGroup()
15841 TagDecl *tagFromDeclSpec = cast<TagDecl>(D.getDeclSpec().getRepAsDecl()); in ParseTypedefDecl()
H A DSemaDeclCXX.cpp11846 auto *Enum = cast<EnumDecl>(DS.getRepAsDecl()); in ActOnUsingEnumDeclaration()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h490 Decl *getRepAsDecl() const { in getRepAsDecl() function
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseDecl.cpp57 *OwnedType = DS.isTypeSpecOwned() ? DS.getRepAsDecl() : nullptr; in ParseTypeName()
3077 Diag(PP.getLocForEndOfToken(DS.getRepAsDecl()->getEndLoc()), in DiagnoseMissingSemiAfterTagDefinition()