Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDPrettyDeclStackTrace.h33 Decl *TheDecl; variable
40 : S(S), TheDecl(D), Loc(Loc), Message(Msg) {} in PrettyDeclStackTraceEntry()
HDScopeInfo.h554 BlockDecl *TheDecl;
565 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
HDSema.h3261 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
3325 LabelDecl *TheDecl);
3909 LabelDecl *TheDecl);
7546 DeclaratorDecl *TheDecl);
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSema.cpp1169 if (CurBSI && CurBSI->TheDecl && in getCurBlock()
1170 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock()
1249 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation(); in print()
1256 if (TheDecl && isa<NamedDecl>(TheDecl)) { in print()
1257 std::string Name = cast<NamedDecl>(TheDecl)->getNameAsString(); in print()
HDSemaStmt.cpp451 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
454 if (TheDecl->getStmt()) { in ActOnLabelStmt()
455 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
456 Diag(TheDecl->getLocation(), diag::note_previous_definition); in ActOnLabelStmt()
461 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
462 TheDecl->setStmt(LS); in ActOnLabelStmt()
463 if (!TheDecl->isGnuLocal()) { in ActOnLabelStmt()
464 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
465 if (!TheDecl->isMSAsmLabel()) { in ActOnLabelStmt()
468 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
[all …]
HDSemaExpr.cpp3022 currentDecl = BSI->TheDecl; in BuildPredefinedExpr()
10854 LabelDecl *TheDecl) { in ActOnAddrLabel() argument
10855 TheDecl->markUsed(Context); in ActOnAddrLabel()
10857 return new (Context) AddrLabelExpr(OpLoc, LabLoc, TheDecl, in ActOnAddrLabel()
11287 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments()
11295 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments()
11303 CurBlock->TheDecl->setBlockMissingReturnType(false); in ActOnBlockArguments()
11325 CurBlock->TheDecl, ParamInfo.getLocStart(), I); in ActOnBlockArguments()
11332 CurBlock->TheDecl->setParams(Params); in ActOnBlockArguments()
11333 CheckParmsForFunctionDef(CurBlock->TheDecl->param_begin(), in ActOnBlockArguments()
[all …]
HDSemaChecking.cpp2272 isVariadic = CurBlock->TheDecl->isVariadic(); in SemaBuiltinVAStart()
2299 LastArg = *(CurBlock->TheDecl->param_end()-1); in SemaBuiltinVAStart()
2338 IsVariadic = CurBlock->TheDecl->isVariadic(); in SemaBuiltinVAStartARM()
HDTreeTransform.h10525 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic()); in TransformBlockExpr()
10526 blockScope->TheDecl->setBlockMissingReturnType( in TransformBlockExpr()
10552 blockScope->TheDecl->setParams(params); in TransformBlockExpr()
/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParser.cpp882 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS); in ParseDeclOrFunctionDefInternal() local
883 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal()
884 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
922 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext); in ParseDeclOrFunctionDefInternal() local
923 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
HDParseDecl.cpp1538 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() local
1540 DS.complete(TheDecl); in ParseSimpleDeclaration()
1541 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration()
1759 Decl *TheDecl = in ParseDeclGroup() local
1761 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup()
3505 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseStructDeclaration() local
3507 DS.complete(TheDecl); in ParseStructDeclaration()
HDParseDeclCXX.cpp2363 Decl *TheDecl = in ParseCXXClassMemberDeclaration() local
2365 DS.complete(TheDecl); in ParseCXXClassMemberDeclaration()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDDeclBase.cpp201 if (TheLoc.isInvalid() && TheDecl) in print()
202 TheLoc = TheDecl->getLocation(); in print()
211 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) { in print()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDStmt.h794 LabelDecl *TheDecl; variable
799 : Stmt(LabelStmtClass), IdentLoc(IL), TheDecl(D), SubStmt(substmt) { in LabelStmt()
809 LabelDecl *getDecl() const { return TheDecl; } in getDecl()
810 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl()
HDDeclBase.h1019 const Decl *TheDecl; variable
1026 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {} in PrettyStackTraceDecl()
HDExprCXX.h623 MSPropertyDecl *TheDecl; variable
637 BaseExpr(baseExpr), TheDecl(decl), in MSPropertyRefExpr()
667 MSPropertyDecl *getPropertyDecl() const { return TheDecl; } in getPropertyDecl()
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTReaderStmt.cpp1622 E->TheDecl = ReadDeclAs<MSPropertyDecl>(Record, Idx); in VisitMSPropertyRefExpr()