Searched refs:DestContext (Results 1 – 1 of 1) sorted by relevance
111 DeclContext *DestContext = nullptr; in CorrectTypo() local114 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()