Searched refs:isTranslationUnit (Results 1 – 25 of 26) sorted by relevance
12
353 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()383 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
204 if (New->getDeclContext()->isTranslationUnit()) in CheckEquivalentExceptionSpec()434 DC->getEnclosingNamespaceContext()->isTranslationUnit()) { in CheckEquivalentExceptionSpec()
382 if (DC->isTranslationUnit()) { in addParentContext()
3691 else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator()4024 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl()5861 NewFD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnFunctionDeclarator()8073 FD->getDeclContext()->isTranslationUnit()) || in AddKnownFunctionAttributes()9032 New->getDeclContext()->getRedeclContext()->isTranslationUnit() && in ActOnTag()
71 if (Ctx->isTranslationUnit()) { in getTemplateInstantiationArgs()
666 if (!Found && DC->isTranslationUnit() && LookupBuiltin(S, R)) in LookupDirect()
798 DCParent2->getParent()->isTranslationUnit()) in VisitClassTemplateDecl()
7364 } else if (DC->isTranslationUnit() || DC->isNamespace()) in IsInsideALocalClassWithinATemplateFunction()
141 FD->getParent()->isTranslationUnit() && in transformNonObjCToObjCCast()335 FD->getParent()->isTranslationUnit() && in isPassedToCFRetain()
86 FD->getParent()->isTranslationUnit() && in isPlusOneAssign()
142 !DC->isTranslationUnit(); DC = DC->getParent()) { in isInCLinkageSpecification()175 if (DC->isTranslationUnit() && D->getLinkage() == InternalLinkage) in shouldMangleDeclName()298 while (!DC->isNamespace() && !DC->isTranslationUnit()) in mangleName()539 if (DC->isTranslationUnit()) in manglePostfix()720 while (DC && !DC->isTranslationUnit()) { in getLocalNestingLevel()
70 while (!DC->isNamespace() && !DC->isTranslationUnit()) { in GetLocalClassDecl()368 !DC->isTranslationUnit(); DC = getEffectiveParentContext(DC)) { in isInCLinkageSpecification()403 while (!DC->isNamespace() && !DC->isTranslationUnit()) in shouldMangleDeclName()405 if (DC->isTranslationUnit() && D->getLinkage() != InternalLinkage) in shouldMangleDeclName()502 ->isTranslationUnit()) in isStd()559 while (!DC->isNamespace() && !DC->isTranslationUnit()) in mangleName()568 if (DC->isTranslationUnit() || isStdNamespace(DC)) { in mangleName()594 if (DC->isTranslationUnit() || isStdNamespace(DC)) { in mangleName()1406 if (DC->isTranslationUnit()) in manglePrefix()
158 DC && !DC->isTranslationUnit() && !DC->isNamespace(); in getParentFunctionOrMethod()240 while (!DC->isTranslationUnit()) { in getTranslationUnitDecl()1299 !isTranslationUnit()))) { in makeDeclVisibleInContextWithFlags()
1727 assert(getDeclContext()->getRedeclContext()->isTranslationUnit()); in isReservedGlobalPlacementOperator()1842 getDeclContext()->isTranslationUnit()) in getBuiltinID()1960 if (!Redecl->getLexicalDeclContext()->isTranslationUnit()) in RedeclForcesDefC99()
331 if (DC->isTranslationUnit()) { in FormatASTNodeDiagnosticArgument()
167 while (!DC->isTranslationUnit()) in dumpDeclContext()
800 if (DC->isTranslationUnit()) return; in AppendScope()
734 DC->getParent()->isTranslationUnit()) in GenerateClassData()
1058 bool isTranslationUnit() const { in isTranslationUnit() function
1272 while (DD && !DD->isTranslationUnit()) { in ParseLateTemplatedFuncDef()
1009 Actions.CurContext->isTranslationUnit()) { in ParseFunctionDefinition()
837 if (!(DC->isTranslationUnit() || DC->getLookupParent()->isTranslationUnit())) in AddTopLevelDeclarationToHash()
1766 if (DC->isTranslationUnit() && Reader.SemaObj) { in ~FindExistingResult()1786 if (DC->isTranslationUnit() && Reader.SemaObj) { in findExisting()
2817 if (DC->isTranslationUnit() && !Context.getLangOpts().CPlusPlus) in WriteDeclContextVisibleBlock()
343 while (DC && !DC->isTranslationUnit()) { in visitDeclsFromFileRegion()