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.h521 BlockDecl *TheDecl; member in class:clang::sema::BlockScopeInfo
532 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block),
H A DSema.h3013 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
3077 LabelDecl *TheDecl);
3643 LabelDecl *TheDecl);
7163 DeclaratorDecl *TheDecl);
/external/clang/lib/Sema/
H A DSema.cpp1124 if (CurBSI && CurBSI->TheDecl &&
1125 !CurBSI->TheDecl->Encloses(CurContext)) {
1201 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation();
1208 if (TheDecl && isa<NamedDecl>(TheDecl)) {
1209 std::string Name = cast<NamedDecl>(TheDecl)->getNameAsString();
H A DSemaStmt.cpp414 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, argument
417 if (TheDecl->getStmt()) {
418 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName();
419 Diag(TheDecl->getLocation(), diag::note_previous_definition);
424 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt);
425 TheDecl->setStmt(LS);
426 if (!TheDecl->isGnuLocal()) {
427 TheDecl->setLocStart(IdentLoc);
428 TheDecl->setLocation(IdentLoc);
2365 LabelDecl *TheDecl) {
2363 ActOnGotoStmt(SourceLocation GotoLoc, SourceLocation LabelLoc, LabelDecl *TheDecl) argument
[all...]
H A DSemaExpr.cpp2910 currentDecl = BSI->TheDecl;
10057 LabelDecl *TheDecl) {
10058 TheDecl->markUsed(Context);
10060 return new (Context) AddrLabelExpr(OpLoc, LabLoc, TheDecl,
10495 CurBlock->TheDecl->setSignatureAsWritten(Sig);
10503 CurBlock->TheDecl->setIsVariadic(isVariadic);
10511 CurBlock->TheDecl->setBlockMissingReturnType(false);
10533 CurBlock->TheDecl, ParamInfo.getLocStart(), I);
10540 CurBlock->TheDecl->setParams(Params);
10541 CheckParmsForFunctionDef(CurBlock->TheDecl
10056 ActOnAddrLabel(SourceLocation OpLoc, SourceLocation LabLoc, LabelDecl *TheDecl) argument
[all...]
H A DSemaChecking.cpp1675 isVariadic = CurBlock->TheDecl->isVariadic();
1702 LastArg = *(CurBlock->TheDecl->param_end()-1);
H A DTreeTransform.h9672 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic());
9673 blockScope->TheDecl->setBlockMissingReturnType(
9699 blockScope->TheDecl->setParams(params);
/external/clang/lib/Parse/
H A DParser.cpp844 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS); local
845 DS.complete(TheDecl);
846 return Actions.ConvertDeclToDeclGroup(TheDecl);
884 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext); local
885 return Actions.ConvertDeclToDeclGroup(TheDecl);
H A DParseDecl.cpp1374 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, local
1376 DS.complete(TheDecl);
1377 return Actions.ConvertDeclToDeclGroup(TheDecl);
1572 Decl *TheDecl = local
1574 return Actions.ConvertDeclToDeclGroup(TheDecl);
3237 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, local
3239 DS.complete(TheDecl);
H A DParseDeclCXX.cpp2156 Decl *TheDecl = local
2158 DS.complete(TheDecl);
/external/clang/lib/AST/
H A DDeclBase.cpp191 if (TheLoc.isInvalid() && TheDecl)
192 TheLoc = TheDecl->getLocation();
201 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) {
/external/clang/include/clang/AST/
H A DDeclBase.h991 const Decl *TheDecl; member in class:clang::PrettyStackTraceDecl
998 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {}
H A DStmt.h782 LabelDecl *TheDecl; member in class:clang::LabelStmt
787 : Stmt(LabelStmtClass), TheDecl(D), SubStmt(substmt), IdentLoc(IL) {
794 LabelDecl *getDecl() const { return TheDecl; }
795 void setDecl(LabelDecl *D) { TheDecl = D; }
H A DExprCXX.h616 MSPropertyDecl *TheDecl; member in class:clang::MSPropertyRefExpr
630 BaseExpr(baseExpr), TheDecl(decl),
660 MSPropertyDecl *getPropertyDecl() const { return TheDecl; }
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp1596 E->TheDecl = ReadDeclAs<MSPropertyDecl>(Record, Idx);

Completed in 1732 milliseconds