Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Sema/
DPrettyDeclStackTrace.h33 Decl *TheDecl; variable
40 : S(S), TheDecl(D), Loc(Loc), Message(Msg) {} in PrettyDeclStackTraceEntry()
DScopeInfo.h502 BlockDecl *TheDecl;
513 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
DSema.h2887 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
2951 LabelDecl *TheDecl);
3506 LabelDecl *TheDecl);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
DSema.cpp1153 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation(); in print()
1160 if (TheDecl && isa<NamedDecl>(TheDecl)) { in print()
1161 std::string Name = cast<NamedDecl>(TheDecl)->getNameAsString(); in print()
DSemaStmt.cpp401 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
404 if (TheDecl->getStmt()) { in ActOnLabelStmt()
405 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
406 Diag(TheDecl->getLocation(), diag::note_previous_definition); in ActOnLabelStmt()
411 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
412 TheDecl->setStmt(LS); in ActOnLabelStmt()
413 if (!TheDecl->isGnuLocal()) { in ActOnLabelStmt()
414 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
415 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
2301 LabelDecl *TheDecl) { in ActOnGotoStmt() argument
[all …]
DSemaExpr.cpp2825 currentDecl = BSI->TheDecl; in BuildPredefinedExpr()
9813 LabelDecl *TheDecl) { in ActOnAddrLabel() argument
9814 TheDecl->markUsed(Context); in ActOnAddrLabel()
9816 return Owned(new (Context) AddrLabelExpr(OpLoc, LabLoc, TheDecl, in ActOnAddrLabel()
10253 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments()
10261 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments()
10269 CurBlock->TheDecl->setBlockMissingReturnType(false); in ActOnBlockArguments()
10292 BuildParmVarDeclForTypedef(CurBlock->TheDecl, in ActOnBlockArguments()
10301 CurBlock->TheDecl->setParams(Params); in ActOnBlockArguments()
10302 CheckParmsForFunctionDef(CurBlock->TheDecl->param_begin(), in ActOnBlockArguments()
[all …]
DTreeTransform.h9324 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic()); in TransformBlockExpr()
9325 blockScope->TheDecl->setBlockMissingReturnType( in TransformBlockExpr()
9351 blockScope->TheDecl->setParams(params); in TransformBlockExpr()
DSemaChecking.cpp1612 isVariadic = CurBlock->TheDecl->isVariadic(); in SemaBuiltinVAStart()
1639 LastArg = *(CurBlock->TheDecl->param_end()-1); in SemaBuiltinVAStart()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Parse/
DParser.cpp889 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS); in ParseDeclOrFunctionDefInternal() local
890 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal()
891 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
928 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext); in ParseDeclOrFunctionDefInternal() local
929 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
DParseDecl.cpp1420 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() local
1422 DS.complete(TheDecl); in ParseSimpleDeclaration()
1423 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration()
1616 Decl *TheDecl = in ParseDeclGroup() local
1618 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup()
3283 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseStructDeclaration() local
3285 DS.complete(TheDecl); in ParseStructDeclaration()
DParseDeclCXX.cpp2102 Decl *TheDecl = in ParseCXXClassMemberDeclaration() local
2104 DS.complete(TheDecl); in ParseCXXClassMemberDeclaration()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
DDeclBase.cpp184 if (TheLoc.isInvalid() && TheDecl) in print()
185 TheLoc = TheDecl->getLocation(); in print()
194 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) { in print()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
DStmt.h765 LabelDecl *TheDecl; variable
770 : Stmt(LabelStmtClass), TheDecl(D), SubStmt(substmt), IdentLoc(IL) { in LabelStmt()
777 LabelDecl *getDecl() const { return TheDecl; } in getDecl()
778 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl()
DDeclBase.h969 const Decl *TheDecl; variable
976 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {} in PrettyStackTraceDecl()
DExprCXX.h616 MSPropertyDecl *TheDecl; variable
630 BaseExpr(baseExpr), TheDecl(decl), in MSPropertyRefExpr()
660 MSPropertyDecl *getPropertyDecl() const { return TheDecl; } in getPropertyDecl()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Serialization/
DASTReaderStmt.cpp1614 E->TheDecl = ReadDeclAs<MSPropertyDecl>(Record, Idx); in VisitMSPropertyRefExpr()