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

/external/clang/include/clang/Sema/
H A DPrettyDeclStackTrace.h33 Decl *TheDecl; member in class:clang::PrettyDeclStackTraceEntry
40 : S(S), TheDecl(D), Loc(Loc), Message(Msg) {}
H A DScopeInfo.h599 BlockDecl *TheDecl; member in class:clang::sema::final
610 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block),
H A DSema.h3391 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
3461 LabelDecl *TheDecl);
4071 LabelDecl *TheDecl);
7760 DeclaratorDecl *TheDecl);
/external/clang/lib/Sema/
H A DSema.cpp1190 if (CurBSI && CurBSI->TheDecl &&
1191 !CurBSI->TheDecl->Encloses(CurContext)) {
1270 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation();
1277 if (auto *ND = dyn_cast_or_null<NamedDecl>(TheDecl)) {
H A DSemaStmt.cpp461 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, argument
464 if (TheDecl->getStmt()) {
465 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName();
466 Diag(TheDecl->getLocation(), diag::note_previous_definition);
471 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt);
472 TheDecl->setStmt(LS);
473 if (!TheDecl->isGnuLocal()) {
474 TheDecl->setLocStart(IdentLoc);
475 if (!TheDecl->isMSAsmLabel()) {
478 TheDecl
2616 ActOnGotoStmt(SourceLocation GotoLoc, SourceLocation LabelLoc, LabelDecl *TheDecl) argument
[all...]
H A DSemaExpr.cpp3061 currentDecl = BSI->TheDecl;
3977 DC = BSI->TheDecl;
11579 LabelDecl *TheDecl) {
11580 TheDecl->markUsed(Context);
11582 return new (Context) AddrLabelExpr(OpLoc, LabLoc, TheDecl,
12008 CurBlock->TheDecl->setSignatureAsWritten(Sig);
12016 CurBlock->TheDecl->setIsVariadic(isVariadic);
12024 CurBlock->TheDecl->setBlockMissingReturnType(false);
12046 CurBlock->TheDecl, ParamInfo.getLocStart(), I);
12053 CurBlock->TheDecl
11578 ActOnAddrLabel(SourceLocation OpLoc, SourceLocation LabLoc, LabelDecl *TheDecl) argument
[all...]
H A DSemaChecking.cpp3142 isVariadic = CurBlock->TheDecl->isVariadic();
3170 LastArg = CurBlock->TheDecl->parameters().back();
3257 IsVariadic = CurBlock->TheDecl->isVariadic();
H A DTreeTransform.h11343 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic());
11344 blockScope->TheDecl->setBlockMissingReturnType(
11374 blockScope->TheDecl->setParams(params);
/external/clang/lib/Parse/
H A DParser.cpp891 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, local
893 DS.complete(TheDecl);
895 Decl* decls[] = {AnonRecord, TheDecl};
898 return Actions.ConvertDeclToDeclGroup(TheDecl);
936 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext); local
937 return Actions.ConvertDeclToDeclGroup(TheDecl);
H A DParseDecl.cpp1565 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, local
1567 DS.complete(TheDecl);
1569 Decl* decls[] = {AnonRecord, TheDecl};
1572 return Actions.ConvertDeclToDeclGroup(TheDecl);
1790 Decl *TheDecl = local
1792 return Actions.ConvertDeclToDeclGroup(TheDecl);
3603 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, local
3606 DS.complete(TheDecl);
H A DParseDeclCXX.cpp2421 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( local
2423 DS.complete(TheDecl);
2425 Decl* decls[] = {AnonRecord, TheDecl};
2428 return Actions.ConvertDeclToDeclGroup(TheDecl);
/external/clang/lib/AST/
H A DDeclBase.cpp228 if (TheLoc.isInvalid() && TheDecl)
229 TheLoc = TheDecl->getLocation();
238 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) {
/external/clang/include/clang/AST/
H A DStmt.h791 LabelDecl *TheDecl; member in class:clang::LabelStmt
796 : Stmt(LabelStmtClass), IdentLoc(IL), TheDecl(D), SubStmt(substmt) {
806 LabelDecl *getDecl() const { return TheDecl; }
807 void setDecl(LabelDecl *D) { TheDecl = D; }
H A DDeclBase.h1052 const Decl *TheDecl; member in class:clang::PrettyStackTraceDecl
1059 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {}
H A DExprCXX.h665 MSPropertyDecl *TheDecl; member in class:clang::MSPropertyRefExpr
679 BaseExpr(baseExpr), TheDecl(decl),
709 MSPropertyDecl *getPropertyDecl() const { return TheDecl; }
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp1682 E->TheDecl = ReadDeclAs<MSPropertyDecl>(Record, Idx);

Completed in 494 milliseconds