Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp462 return cast<TagDecl>(getRepAsDecl())->isCompleteDefinition(); in hasTagDefinition()
1508 return isDeclRep(tst) && getRepAsDecl() != nullptr && in isMissingDeclaratorOk()
H A DSemaType.cpp1198 TagDecl *D = dyn_cast_or_null<TagDecl>(DS.getRepAsDecl()); in ConvertDeclSpecToType()
3143 OwnedTagDecl = cast<TagDecl>(D.getDeclSpec().getRepAsDecl()); in GetDeclSpecTypeForDeclarator()
5104 TagDecl *Tag = cast<TagDecl>(D.getDeclSpec().getRepAsDecl()); in GetFullTypeForDeclarator()
H A DSemaDecl.cpp5096 if (const auto *ED = dyn_cast<EnumDecl>(DS.getRepAsDecl())) { in GetDiagnosticTypeSpecifierID()
5122 TagD = DS.getRepAsDecl(); in ParsedFreeStandingDeclSpec()
15086 Decls.push_back(DS.getRepAsDecl()); in FinalizeDeclaratorGroup()
15144 if (TagDecl *Tag = dyn_cast_or_null<TagDecl>(DS.getRepAsDecl())) { in FinalizeDeclaratorGroup()
17147 TagDecl *tagFromDeclSpec = cast<TagDecl>(D.getDeclSpec().getRepAsDecl()); in ParseTypedefDecl()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp222 Actions.ActOnDefinedDeclarationSpecifier(DS.getRepAsDecl()); in ParseDeclarationAfterTemplate()
H A DParseDecl.cpp57 *OwnedType = DS.isTypeSpecOwned() ? DS.getRepAsDecl() : nullptr; in ParseTypeName()
1973 Actions.ActOnDefinedDeclarationSpecifier(DS.getRepAsDecl()); in ParseSimpleDeclaration()
3334 Diag(PP.getLocForEndOfToken(DS.getRepAsDecl()->getEndLoc()), in DiagnoseMissingSemiAfterTagDefinition()
4656 auto *RD = dyn_cast<RecordDecl>(DS.getRepAsDecl()); in DiagnoseCountAttributedTypeInUnnamedAnon()
H A DParser.cpp1142 Actions.ActOnDefinedDeclarationSpecifier(DS.getRepAsDecl()); in ParseDeclOrFunctionDefInternal()
H A DParseDeclCXX.cpp2910 Actions.ActOnDefinedDeclarationSpecifier(DS.getRepAsDecl()); in ParseCXXClassMemberDeclaration()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h550 Decl *getRepAsDecl() const { in getRepAsDecl() function