Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp68 TranslationUnitDecl *TUDecl; member in __anone5f8ec0e0111::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.cpp69 TranslationUnitDecl *TUDecl; member in __anonedadf7530111::RewriteModernObjC
675 TUDecl = Context->getTranslationUnitDecl(); in InitializeCommon()
2321 SelGetUidFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthSelGetUidFunctionDecl()
2438 MsgSendFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthMsgSendFunctionDecl()
2452 MsgSendSuperFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthMsgSendSuperFunctionDecl()
2471 MsgSendStretFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthMsgSendStretFunctionDecl()
2507 MsgSendFpretFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthMsgSendFpretFunctionDecl()
2521 GetClassFunctionDecl = FunctionDecl::Create(*Context, TUDecl, in SynthGetClassFunctionDecl()
3570 ProtocolTypeDecl = TypedefDecl::Create(*Context, TUDecl, in getProtocolType()
5190 return FunctionDecl::Create(*Context, TUDecl, SourceLocation(), in SynthBlockInitFunctionDecl()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h571 TranslationUnitDecl *TUDecl = nullptr; variable
1028 return TUDecl->getMostRecentDecl(); in getTranslationUnitDecl()
1031 assert(!TUDecl || TUKind == TU_Incremental); in addTranslationUnitDecl()
1033 if (TraversalScope.empty() || TraversalScope.back() == TUDecl) in addTranslationUnitDecl()
1035 if (TUDecl) in addTranslationUnitDecl()
1036 NewTUDecl->setPreviousDecl(TUDecl); in addTranslationUnitDecl()
1037 TUDecl = NewTUDecl; in addTranslationUnitDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.cpp184 C.TUDecl = PreviousTU; in ParseOrWrapTopLevelDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp342 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl(); in emitDeviceStubBodyNew() local
343 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in emitDeviceStubBodyNew()
H A DCGObjCGNU.cpp1233 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl(); in GetClassVar() local
1234 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in GetClassVar()
2321 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl(); in EmitNSAutoreleasePoolClassRef() local
2322 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in EmitNSAutoreleasePoolClassRef()
H A DCGBlocks.cpp2853 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl(); in configureBlocksRuntimeObject() local
2854 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in configureBlocksRuntimeObject()
H A DCodeGenModule.cpp3720 TranslationUnitDecl *TUDecl = C.getTranslationUnitDecl(); in GetRuntimeFunctionDecl() local
3721 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in GetRuntimeFunctionDecl()
5117 TranslationUnitDecl *TUDecl = Context.getTranslationUnitDecl(); in GetAddrOfConstantCFString() local
5118 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in GetAddrOfConstantCFString()
H A DCGObjCMac.cpp6521 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl(); in getStorage() local
6522 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in getStorage()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h3608 TranslationUnitDecl *TUDecl = SemaRef.Context.getTranslationUnitDecl(); in RebuildShuffleVectorExpr() local
3609 DeclContext::lookup_result Lookup = TUDecl->lookup(DeclarationName(&Name)); in RebuildShuffleVectorExpr()