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.h515 BlockDecl *TheDecl; member in class:clang::sema::BlockScopeInfo
526 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block),
H A DSema.h2815 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
2879 LabelDecl *TheDecl);
3426 LabelDecl *TheDecl);
/external/clang/lib/Sema/
H A DSema.cpp1108 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation();
1115 if (TheDecl && isa<NamedDecl>(TheDecl)) {
1116 std::string Name = cast<NamedDecl>(TheDecl)->getNameAsString();
H A DSemaStmt.cpp404 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, argument
407 if (TheDecl->getStmt()) {
408 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName();
409 Diag(TheDecl->getLocation(), diag::note_previous_definition);
414 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt);
415 TheDecl->setStmt(LS);
416 if (!TheDecl->isGnuLocal()) {
417 TheDecl->setLocStart(IdentLoc);
418 TheDecl->setLocation(IdentLoc);
2261 LabelDecl *TheDecl) {
2259 ActOnGotoStmt(SourceLocation GotoLoc, SourceLocation LabelLoc, LabelDecl *TheDecl) argument
[all...]
H A DSemaExpr.cpp2778 currentDecl = BSI->TheDecl;
9626 LabelDecl *TheDecl) {
9627 TheDecl->setUsed();
9629 return Owned(new (Context) AddrLabelExpr(OpLoc, LabLoc, TheDecl,
10060 CurBlock->TheDecl->setSignatureAsWritten(Sig);
10068 CurBlock->TheDecl->setIsVariadic(isVariadic);
10076 CurBlock->TheDecl->setBlockMissingReturnType(false);
10099 BuildParmVarDeclForTypedef(CurBlock->TheDecl,
10108 CurBlock->TheDecl->setParams(Params);
10109 CheckParmsForFunctionDef(CurBlock->TheDecl
9625 ActOnAddrLabel(SourceLocation OpLoc, SourceLocation LabLoc, LabelDecl *TheDecl) argument
[all...]
H A DSemaChecking.cpp1601 isVariadic = CurBlock->TheDecl->isVariadic();
1628 LastArg = *(CurBlock->TheDecl->param_end()-1);
H A DTreeTransform.h9126 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic());
9127 blockScope->TheDecl->setBlockMissingReturnType(
9153 blockScope->TheDecl->setParams(params);
/external/clang/lib/AST/
H A DDeclBase.cpp184 if (TheLoc.isInvalid() && TheDecl)
185 TheLoc = TheDecl->getLocation();
194 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) {
/external/clang/lib/Parse/
H A DParser.cpp863 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS); local
864 DS.complete(TheDecl);
865 return Actions.ConvertDeclToDeclGroup(TheDecl);
902 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext); local
903 return Actions.ConvertDeclToDeclGroup(TheDecl);
H A DParseDecl.cpp1425 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, local
1427 DS.complete(TheDecl);
1428 return Actions.ConvertDeclToDeclGroup(TheDecl);
1621 Decl *TheDecl = local
1623 return Actions.ConvertDeclToDeclGroup(TheDecl);
3178 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, local
3180 DS.complete(TheDecl);
H A DParseDeclCXX.cpp2067 Decl *TheDecl = local
2069 DS.complete(TheDecl);
/external/clang/include/clang/AST/
H A DDeclBase.h924 const Decl *TheDecl; member in class:clang::PrettyStackTraceDecl
931 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {}
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 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.cpp1605 E->TheDecl = ReadDeclAs<MSPropertyDecl>(Record, Idx);

Completed in 576 milliseconds