/external/clang/include/clang/Sema/ |
D | PrettyDeclStackTrace.h | 33 Decl *TheDecl; variable 40 : S(S), TheDecl(D), Loc(Loc), Message(Msg) {} in PrettyDeclStackTraceEntry()
|
D | ScopeInfo.h | 599 BlockDecl *TheDecl; 610 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
|
/external/llvm-project/clang/include/clang/AST/ |
D | PrettyDeclStackTrace.h | 32 Decl *TheDecl; variable 39 : Context(Ctx), TheDecl(D), Loc(Loc), Message(Msg) {} in PrettyDeclStackTraceEntry()
|
D | DeclBase.h | 1211 const Decl *TheDecl; variable 1219 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {} in PrettyStackTraceDecl()
|
D | Stmt.h | 1799 LabelDecl *TheDecl; variable 1805 : ValueStmt(LabelStmtClass), TheDecl(D), SubStmt(substmt) { in LabelStmt() 1815 LabelDecl *getDecl() const { return TheDecl; } in getDecl() 1816 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | ExtractFunction.cpp | 417 const Decl *TheDecl; member 424 DeclInformation(const Decl *TheDecl, ZoneRelative DeclaredIn, in DeclInformation() 426 : TheDecl(TheDecl), DeclaredIn(DeclaredIn), DeclIndex(DeclIndex){}; in DeclInformation() 595 const ValueDecl *VD = dyn_cast_or_null<ValueDecl>(DeclInfo.TheDecl); in createParameters() 598 if (!VD || isa<FunctionDecl>(DeclInfo.TheDecl)) in createParameters()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | LoopConvertUtils.cpp | 349 static bool isAliasDecl(ASTContext *Context, const Decl *TheDecl, in isAliasDecl() argument 351 const auto *VDecl = dyn_cast<VarDecl>(TheDecl); in isAliasDecl() 746 const ValueDecl *TheDecl = E->getDecl(); in VisitDeclRefExpr() local 747 if (areSameVariable(IndexVar, TheDecl) || in VisitDeclRefExpr() 748 exprReferencesVariable(IndexVar, E) || areSameVariable(EndVar, TheDecl) || in VisitDeclRefExpr()
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | ExprSequence.cpp | 133 for (const Decl *TheDecl : TheDeclStmt->decls()) { in getSequenceSuccessor() local 134 if (const auto *TheVarDecl = dyn_cast<VarDecl>(TheDecl)) { in getSequenceSuccessor()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 1190 if (CurBSI && CurBSI->TheDecl && in getCurBlock() 1191 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock() 1270 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation(); in print() 1277 if (auto *ND = dyn_cast_or_null<NamedDecl>(TheDecl)) { in print()
|
D | SemaStmt.cpp | 461 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument 464 if (TheDecl->getStmt()) { in ActOnLabelStmt() 465 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt() 466 Diag(TheDecl->getLocation(), diag::note_previous_definition); in ActOnLabelStmt() 471 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt() 472 TheDecl->setStmt(LS); in ActOnLabelStmt() 473 if (!TheDecl->isGnuLocal()) { in ActOnLabelStmt() 474 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt() 475 if (!TheDecl->isMSAsmLabel()) { in ActOnLabelStmt() 478 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt() [all …]
|
D | SemaExpr.cpp | 3061 currentDecl = BSI->TheDecl; in BuildPredefinedExpr() 3977 DC = BSI->TheDecl; in CreateUnaryExprOrTypeTraitExpr() 11579 LabelDecl *TheDecl) { in ActOnAddrLabel() argument 11580 TheDecl->markUsed(Context); in ActOnAddrLabel() 11582 return new (Context) AddrLabelExpr(OpLoc, LabLoc, TheDecl, in ActOnAddrLabel() 12008 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments() 12016 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments() 12024 CurBlock->TheDecl->setBlockMissingReturnType(false); in ActOnBlockArguments() 12046 CurBlock->TheDecl, ParamInfo.getLocStart(), I); in ActOnBlockArguments() 12053 CurBlock->TheDecl->setParams(Params); in ActOnBlockArguments() [all …]
|
/external/clang/lib/Parse/ |
D | Parser.cpp | 891 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseDeclOrFunctionDefInternal() local 893 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal() 895 Decl* decls[] = {AnonRecord, TheDecl}; in ParseDeclOrFunctionDefInternal() 898 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal() 936 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext); in ParseDeclOrFunctionDefInternal() local 937 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
|
D | ParseDecl.cpp | 1565 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() local 1567 DS.complete(TheDecl); in ParseSimpleDeclaration() 1569 Decl* decls[] = {AnonRecord, TheDecl}; in ParseSimpleDeclaration() 1572 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration() 1790 Decl *TheDecl = in ParseDeclGroup() local 1792 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup() 3603 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseStructDeclaration() local 3606 DS.complete(TheDecl); in ParseStructDeclaration()
|
D | ParseDeclCXX.cpp | 2421 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseCXXClassMemberDeclaration() local 2423 DS.complete(TheDecl); in ParseCXXClassMemberDeclaration() 2425 Decl* decls[] = {AnonRecord, TheDecl}; in ParseCXXClassMemberDeclaration() 2428 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseCXXClassMemberDeclaration()
|
/external/llvm-project/clang/lib/Parse/ |
D | Parser.cpp | 1079 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseDeclOrFunctionDefInternal() local 1081 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal() 1083 Actions.setCurrentOpenCLExtensionForDecl(TheDecl); in ParseDeclOrFunctionDefInternal() 1085 Decl* decls[] = {AnonRecord, TheDecl}; in ParseDeclOrFunctionDefInternal() 1088 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal() 1130 Decl *TheDecl = ParseLinkage(DS, DeclaratorContext::File); in ParseDeclOrFunctionDefInternal() local 1131 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
|
D | ParseDecl.cpp | 1740 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() local 1742 DS.complete(TheDecl); in ParseSimpleDeclaration() 1744 Decl* decls[] = {AnonRecord, TheDecl}; in ParseSimpleDeclaration() 1747 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration() 1976 Decl *TheDecl = ParseFunctionDefinition(D, ParsedTemplateInfo(), in ParseDeclGroup() local 1978 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup() 4128 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseStructDeclaration() local 4131 DS.complete(TheDecl); in ParseStructDeclaration()
|
D | ParseDeclCXX.cpp | 2657 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseCXXClassMemberDeclaration() local 2659 DS.complete(TheDecl); in ParseCXXClassMemberDeclaration() 2661 Decl* decls[] = {AnonRecord, TheDecl}; in ParseCXXClassMemberDeclaration() 2664 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseCXXClassMemberDeclaration()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | ScopeInfo.h | 739 BlockDecl *TheDecl; 750 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaStmt.cpp | 535 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument 538 if (TheDecl->getStmt()) { in ActOnLabelStmt() 539 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt() 540 Diag(TheDecl->getLocation(), diag::note_previous_definition); in ActOnLabelStmt() 545 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt() 546 TheDecl->setStmt(LS); in ActOnLabelStmt() 547 if (!TheDecl->isGnuLocal()) { in ActOnLabelStmt() 548 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt() 549 if (!TheDecl->isMSAsmLabel()) { in ActOnLabelStmt() 552 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt() [all …]
|
D | SemaExpr.cpp | 3465 currentDecl = BSI->TheDecl; in BuildPredefinedExpr() 4437 DC = BSI->TheDecl; in CreateUnaryExprOrTypeTraitExpr() 5578 DC = BSI->TheDecl; in CreateBuiltinArraySubscriptExpr() 14839 LabelDecl *TheDecl) { in ActOnAddrLabel() argument 14840 TheDecl->markUsed(Context); in ActOnAddrLabel() 14842 return new (Context) AddrLabelExpr(OpLoc, LabLoc, TheDecl, in ActOnAddrLabel() 15232 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments() 15240 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments() 15248 CurBlock->TheDecl->setBlockMissingReturnType(false); in ActOnBlockArguments() 15271 CurBlock->TheDecl, ParamInfo.getBeginLoc(), I); in ActOnBlockArguments() [all …]
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 228 if (TheLoc.isInvalid() && TheDecl) in print() 229 TheLoc = TheDecl->getLocation(); in print() 238 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) { in print()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclBase.cpp | 302 if (TheLoc.isInvalid() && TheDecl) in print() 303 TheLoc = TheDecl->getLocation(); in print() 312 if (const auto *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) { in print()
|
/external/clang/include/clang/AST/ |
D | Stmt.h | 791 LabelDecl *TheDecl; variable 796 : Stmt(LabelStmtClass), IdentLoc(IL), TheDecl(D), SubStmt(substmt) { in LabelStmt() 806 LabelDecl *getDecl() const { return TheDecl; } in getDecl() 807 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl()
|
D | DeclBase.h | 1052 const Decl *TheDecl; variable 1059 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {} in PrettyStackTraceDecl()
|
D | ExprCXX.h | 665 MSPropertyDecl *TheDecl; variable 679 BaseExpr(baseExpr), TheDecl(decl), in MSPropertyRefExpr() 709 MSPropertyDecl *getPropertyDecl() const { return TheDecl; } in getPropertyDecl()
|