Searched refs:TheDecl (Results 1 - 14 of 14) 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.h308 BlockDecl *TheDecl; member in class:clang::sema::BlockScopeInfo
319 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block),
H A DSema.h2506 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
2559 LabelDecl *TheDecl);
3076 LabelDecl *TheDecl);
/external/clang/lib/Sema/
H A DSema.cpp1062 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation();
1069 if (TheDecl && isa<NamedDecl>(TheDecl)) {
1070 std::string Name = cast<NamedDecl>(TheDecl)->getNameAsString();
H A DSemaStmt.cpp362 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, argument
365 if (TheDecl->getStmt()) {
366 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName();
367 Diag(TheDecl->getLocation(), diag::note_previous_definition);
372 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt);
373 TheDecl->setStmt(LS);
374 if (!TheDecl->isGnuLocal())
375 TheDecl->setLocation(IdentLoc);
2058 LabelDecl *TheDecl) {
2060 TheDecl
2056 ActOnGotoStmt(SourceLocation GotoLoc, SourceLocation LabelLoc, LabelDecl *TheDecl) argument
[all...]
H A DSemaExpr.cpp2511 currentDecl = getCurBlock()->TheDecl;
8872 LabelDecl *TheDecl) {
8873 TheDecl->setUsed();
8875 return Owned(new (Context) AddrLabelExpr(OpLoc, LabLoc, TheDecl,
9295 CurBlock->TheDecl->setSignatureAsWritten(Sig);
9303 CurBlock->TheDecl->setIsVariadic(isVariadic);
9318 CurBlock->TheDecl->setBlockMissingReturnType(false);
9341 BuildParmVarDeclForTypedef(CurBlock->TheDecl,
9350 CurBlock->TheDecl->setParams(Params);
9351 CheckParmsForFunctionDef(CurBlock->TheDecl
8871 ActOnAddrLabel(SourceLocation OpLoc, SourceLocation LabLoc, LabelDecl *TheDecl) argument
[all...]
H A DTreeTransform.h8741 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic());
8742 blockScope->TheDecl->setBlockMissingReturnType(
8781 blockScope->TheDecl->setParams(params);
H A DSemaChecking.cpp1313 isVariadic = CurBlock->TheDecl->isVariadic();
1335 LastArg = *(CurBlock->TheDecl->param_end()-1);
/external/clang/lib/AST/
H A DDeclBase.cpp173 if (TheLoc.isInvalid() && TheDecl)
174 TheLoc = TheDecl->getLocation();
183 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl))
/external/clang/lib/Parse/
H A DParser.cpp839 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS); local
840 DS.complete(TheDecl);
841 return Actions.ConvertDeclToDeclGroup(TheDecl);
878 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext); local
879 return Actions.ConvertDeclToDeclGroup(TheDecl);
H A DParseDecl.cpp1234 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, local
1236 DS.complete(TheDecl);
1237 return Actions.ConvertDeclToDeclGroup(TheDecl);
1427 Decl *TheDecl = local
1429 return Actions.ConvertDeclToDeclGroup(TheDecl);
2854 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, local
2856 DS.complete(TheDecl);
H A DParseDeclCXX.cpp1878 Decl *TheDecl = local
1880 DS.complete(TheDecl);
/external/clang/include/clang/AST/
H A DStmt.h763 LabelDecl *TheDecl; member in class:clang::LabelStmt
768 : Stmt(LabelStmtClass), TheDecl(D), SubStmt(substmt), IdentLoc(IL) {
775 LabelDecl *getDecl() const { return TheDecl; }
776 void setDecl(LabelDecl *D) { TheDecl = D; }
H A DDeclBase.h890 const Decl *TheDecl; member in class:clang::PrettyStackTraceDecl
897 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {}

Completed in 1109 milliseconds