Home
last modified time | relevance | path

Searched refs:TheDecl (Results 1 – 16 of 16) sorted by relevance

/minix/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DPrettyDeclStackTrace.h33 Decl *TheDecl; variable
40 : S(S), TheDecl(D), Loc(Loc), Message(Msg) {} in PrettyDeclStackTraceEntry()
H A DScopeInfo.h538 BlockDecl *TheDecl;
549 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
H A DSema.h3136 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
3200 LabelDecl *TheDecl);
3784 LabelDecl *TheDecl);
7348 DeclaratorDecl *TheDecl);
/minix/external/bsd/llvm/dist/clang/lib/Sema/
H A DSema.cpp1158 if (CurBSI && CurBSI->TheDecl && in getCurBlock()
1159 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock()
1235 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation(); in print()
1242 if (TheDecl && isa<NamedDecl>(TheDecl)) { in print()
1243 std::string Name = cast<NamedDecl>(TheDecl)->getNameAsString(); in print()
H A DSemaStmt.cpp449 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
452 if (TheDecl->getStmt()) { in ActOnLabelStmt()
454 Diag(TheDecl->getLocation(), diag::note_previous_definition); in ActOnLabelStmt()
460 TheDecl->setStmt(LS); in ActOnLabelStmt()
461 if (!TheDecl->isGnuLocal()) { in ActOnLabelStmt()
462 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
463 if (!TheDecl->isMSAsmLabel()) { in ActOnLabelStmt()
466 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
2393 LabelDecl *TheDecl) { in ActOnGotoStmt() argument
2395 TheDecl->markUsed(Context); in ActOnGotoStmt()
[all …]
H A DSemaExpr.cpp2957 currentDecl = BSI->TheDecl; in BuildPredefinedExpr()
10241 LabelDecl *TheDecl) { in ActOnAddrLabel() argument
10242 TheDecl->markUsed(Context); in ActOnAddrLabel()
10674 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments()
10682 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments()
10719 CurBlock->TheDecl->setParams(Params); in ActOnBlockArguments()
10729 for (auto AI : CurBlock->TheDecl->params()) { in ActOnBlockArguments()
10730 AI->setOwningFunction(CurBlock->TheDecl); in ActOnBlockArguments()
10831 BSI->TheDecl->param_end()); in ActOnBlockStmtExpr()
10839 BSI->TheDecl->setBody(cast<CompoundStmt>(Body)); in ActOnBlockStmtExpr()
[all …]
H A DSemaChecking.cpp1959 isVariadic = CurBlock->TheDecl->isVariadic(); in SemaBuiltinVAStart()
1986 LastArg = *(CurBlock->TheDecl->param_end()-1); in SemaBuiltinVAStart()
2025 IsVariadic = CurBlock->TheDecl->isVariadic(); in SemaBuiltinVAStartARM()
H A DTreeTransform.h10225 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic()); in TransformBlockExpr()
10226 blockScope->TheDecl->setBlockMissingReturnType( in TransformBlockExpr()
10252 blockScope->TheDecl->setParams(params); in TransformBlockExpr()
/minix/external/bsd/llvm/dist/clang/lib/Parse/
H A DParser.cpp849 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS); in ParseDeclOrFunctionDefInternal() local
850 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal()
851 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
889 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext); in ParseDeclOrFunctionDefInternal() local
890 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
H A DParseDecl.cpp1467 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() local
1469 DS.complete(TheDecl); in ParseSimpleDeclaration()
1470 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration()
1688 Decl *TheDecl = in ParseDeclGroup() local
1690 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup()
3386 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseStructDeclaration() local
3388 DS.complete(TheDecl); in ParseStructDeclaration()
H A DParseDeclCXX.cpp2280 Decl *TheDecl = in ParseCXXClassMemberDeclaration() local
2282 DS.complete(TheDecl); in ParseCXXClassMemberDeclaration()
/minix/external/bsd/llvm/dist/clang/lib/AST/
H A DDeclBase.cpp191 if (TheLoc.isInvalid() && TheDecl) in print()
192 TheLoc = TheDecl->getLocation(); in print()
201 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) { in print()
/minix/external/bsd/llvm/dist/clang/include/clang/AST/
H A DStmt.h787 LabelDecl *TheDecl; variable
792 : Stmt(LabelStmtClass), TheDecl(D), SubStmt(substmt), IdentLoc(IL) { in LabelStmt()
799 LabelDecl *getDecl() const { return TheDecl; } in getDecl()
800 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl()
H A DDeclBase.h996 const Decl *TheDecl; variable
1003 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {} in PrettyStackTraceDecl()
H A DExprCXX.h616 MSPropertyDecl *TheDecl; variable
630 BaseExpr(baseExpr), TheDecl(decl), in MSPropertyRefExpr()
660 MSPropertyDecl *getPropertyDecl() const { return TheDecl; } in getPropertyDecl()
/minix/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTReaderStmt.cpp1612 E->TheDecl = ReadDeclAs<MSPropertyDecl>(Record, Idx); in VisitMSPropertyRefExpr()