Home
last modified time | relevance | path

Searched refs:TUDecl (Results 1 – 9 of 9) sorted by relevance

/openbsd/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp68 TranslationUnitDecl *TUDecl; member in __anon5cb7b4070111::RewriteObjC
604 TUDecl = Context->getTranslationUnitDecl(); in InitializeCommon()
2235 SelGetUidFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthSelGetUidFunctionDecl()
2349 MsgSendFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthMsgSendFunctionDecl()
2360 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl, in SynthMsgSendSuperFunctionDecl()
2371 MsgSendSuperFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthMsgSendSuperFunctionDecl()
2390 MsgSendStretFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthMsgSendStretFunctionDecl()
2448 GetClassFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthGetClassFunctionDecl()
3025 ProtocolTypeDecl = TypedefDecl::Create(*Context, TUDecl, in getProtocolType()
4344 return FunctionDecl::Create(*Context, TUDecl, SourceLocation(), in SynthBlockInitFunctionDecl()
[all …]
H A DRewriteModernObjC.cpp70 TranslationUnitDecl *TUDecl; member in __anon5f8b160c0111::RewriteModernObjC
676 TUDecl = Context->getTranslationUnitDecl(); in InitializeCommon()
2322 SelGetUidFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthSelGetUidFunctionDecl()
2439 MsgSendFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthMsgSendFunctionDecl()
2453 MsgSendSuperFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthMsgSendSuperFunctionDecl()
2472 MsgSendStretFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthMsgSendStretFunctionDecl()
2508 MsgSendFpretFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthMsgSendFpretFunctionDecl()
2522 GetClassFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthGetClassFunctionDecl()
3571 ProtocolTypeDecl = TypedefDecl::Create(*Context, TUDecl, in getProtocolType()
5191 return FunctionDecl::Create(*Context, TUDecl, SourceLocation(), in SynthBlockInitFunctionDecl()
[all …]
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DASTContext.h579 TranslationUnitDecl *TUDecl = nullptr; variable
1060 return TUDecl->getMostRecentDecl(); in getTranslationUnitDecl()
1063 assert(!TUDecl || TUKind == TU_Incremental); in addTranslationUnitDecl()
1065 if (TraversalScope.empty() || TraversalScope.back() == TUDecl) in addTranslationUnitDecl()
1067 if (TUDecl) in addTranslationUnitDecl()
1068 NewTUDecl->setPreviousDecl(TUDecl); in addTranslationUnitDecl()
1069 TUDecl = NewTUDecl; in addTranslationUnitDecl()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGCUDANV.cpp359 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl(); in emitDeviceStubBodyNew() local
360 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in emitDeviceStubBodyNew()
H A DCGObjCGNU.cpp1236 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl(); in GetClassVar() local
1237 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in GetClassVar()
2329 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl(); in EmitNSAutoreleasePoolClassRef() local
2330 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in EmitNSAutoreleasePoolClassRef()
H A DCGBlocks.cpp2829 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl(); in configureBlocksRuntimeObject() local
2830 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in configureBlocksRuntimeObject()
H A DCodeGenModule.cpp4237 TranslationUnitDecl *TUDecl = C.getTranslationUnitDecl(); in GetRuntimeFunctionDecl() local
4238 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in GetRuntimeFunctionDecl()
5665 TranslationUnitDecl *TUDecl = Context.getTranslationUnitDecl(); in GetAddrOfConstantCFString() local
5666 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in GetAddrOfConstantCFString()
H A DCGObjCMac.cpp6476 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl(); in getStorage() local
6477 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in getStorage()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DTreeTransform.h3763 TranslationUnitDecl *TUDecl = SemaRef.Context.getTranslationUnitDecl(); in RebuildShuffleVectorExpr() local
3764 DeclContext::lookup_result Lookup = TUDecl->lookup(DeclarationName(&Name)); in RebuildShuffleVectorExpr()