Home
last modified time | relevance | path

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

/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp111 DeclContext *DestContext = nullptr; in CorrectTypo() local
114 DestContext = CurrentSema->computeDeclContext(*SS, EnteringContext); in CorrectTypo()
115 if (!DestContext) in CorrectTypo()
116 DestContext = Context.getTranslationUnitDecl(); in CorrectTypo()
120 NamespaceDecl::Create(Context, DestContext, false, Typo.getBeginLoc(), in CorrectTypo()
122 DestContext->addDecl(NewNamespace); in CorrectTypo()