Home
last modified time | relevance | path

Searched refs:SingleDecl (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/clang/lib/Parse/
DParser.cpp757 Decl *SingleDecl = nullptr; in ParseExternalDeclaration() local
819 SingleDecl = in ParseExternalDeclaration()
858 SingleDecl = Actions.ActOnFileScopeAsmDecl(Result.get(), StartLoc, EndLoc); in ParseExternalDeclaration()
870 SingleDecl = ParseObjCMethodDefinition(); in ParseExternalDeclaration()
885 SingleDecl = ParseModuleImport(SourceLocation()); in ParseExternalDeclaration()
889 SingleDecl = ParseExportDeclaration(); in ParseExternalDeclaration()
975 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseExternalDeclaration()
DParseObjc.cpp58 Decl *SingleDecl = nullptr; in ParseObjCAtDirectives() local
63 SingleDecl = ParseObjCAtInterfaceDeclaration(AtLoc, Attrs); in ParseObjCAtDirectives()
72 SingleDecl = ParseObjCAtAliasDeclaration(AtLoc); in ParseObjCAtDirectives()
75 SingleDecl = ParseObjCPropertySynthesize(AtLoc); in ParseObjCAtDirectives()
78 SingleDecl = ParseObjCPropertyDynamic(AtLoc); in ParseObjCAtDirectives()
82 SingleDecl = ParseModuleImport(AtLoc); in ParseObjCAtDirectives()
91 SingleDecl = nullptr; in ParseObjCAtDirectives()
94 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseObjCAtDirectives()
DParseDecl.cpp1659 Decl *SingleDecl = nullptr; in ParseDeclaration() local
1664 SingleDecl = ParseDeclarationStartingWithTemplate(Context, DeclEnd, attrs); in ParseDeclaration()
1684 SingleDecl = ParseStaticAssertDeclaration(DeclEnd); in ParseDeclaration()
1693 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseDeclaration()
/external/clang/lib/Parse/
DParser.cpp633 Decl *SingleDecl = nullptr; in ParseExternalDeclaration() local
680 SingleDecl = Actions.ActOnEmptyDeclaration(getCurScope(), in ParseExternalDeclaration()
720 SingleDecl = Actions.ActOnFileScopeAsmDecl(Result.get(), StartLoc, EndLoc); in ParseExternalDeclaration()
732 SingleDecl = ParseObjCMethodDefinition(); in ParseExternalDeclaration()
813 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseExternalDeclaration()
DParseObjc.cpp57 Decl *SingleDecl = nullptr; in ParseObjCAtDirectives() local
63 SingleDecl = ParseObjCAtInterfaceDeclaration(AtLoc, attrs); in ParseObjCAtDirectives()
75 SingleDecl = ParseObjCAtAliasDeclaration(AtLoc); in ParseObjCAtDirectives()
78 SingleDecl = ParseObjCPropertySynthesize(AtLoc); in ParseObjCAtDirectives()
81 SingleDecl = ParseObjCPropertyDynamic(AtLoc); in ParseObjCAtDirectives()
92 SingleDecl = nullptr; in ParseObjCAtDirectives()
95 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseObjCAtDirectives()
DParseDecl.cpp1486 Decl *SingleDecl = nullptr; in ParseDeclaration() local
1492 SingleDecl = ParseDeclarationStartingWithTemplate(Context, DeclEnd); in ParseDeclaration()
1507 SingleDecl = ParseUsingDirectiveOrDeclaration(Context, ParsedTemplateInfo(), in ParseDeclaration()
1513 SingleDecl = ParseStaticAssertDeclaration(DeclEnd); in ParseDeclaration()
1522 return Actions.ConvertDeclToDeclGroup(SingleDecl, OwnedType); in ParseDeclaration()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp1275 TEST(SingleDecl, IsSingleDecl) { in TEST() argument
/external/clang/lib/Sema/
DSemaCodeComplete.cpp369 iterator(const NamedDecl *SingleDecl, unsigned Index) in iterator() argument
370 : DeclOrIterator(SingleDecl), SingleDeclIndex(Index) { } in iterator()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp3216 TEST(SingleDecl, IsSingleDecl) { in TEST() argument
/external/llvm-project/clang/lib/Sema/
DSemaCodeComplete.cpp600 iterator(const NamedDecl *SingleDecl, unsigned Index) in iterator() argument
601 : DeclOrIterator(SingleDecl), SingleDeclIndex(Index) {} in iterator()
DTreeTransform.h11720 NamedDecl *SingleDecl = cast<NamedDecl>(InstD); in TransformOverloadExprDecls() local
11721 ArrayRef<NamedDecl*> Decls = SingleDecl; in TransformOverloadExprDecls()