Searched refs:isTranslationUnit (Results 1 – 25 of 28) sorted by relevance
12
65 if (!DC->isTranslationUnit()) in isCLibraryFunction()
331 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()361 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
377 if (DC->isTranslationUnit()) { in addParentContext()
1343 while (!DC->isTranslationUnit()) { in mightHaveNonExternalLinkage()4719 CurContext->getEnclosingNamespaceContext()->isTranslationUnit(); in HandleDeclarator()4720 } else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator()4945 ND->getLexicalDeclContext()->getRedeclContext()->isTranslationUnit()) in RegisterLocallyScopedExternCDecl()5077 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl()6181 if (ND->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in checkForConflictWithNonVisibleExternC()6193 if (ND->getDeclContext()->getRedeclContext()->isTranslationUnit()) in checkForConflictWithNonVisibleExternC()7864 NewFD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnFunctionDeclarator()10967 FD->getDeclContext()->isTranslationUnit()) || in AddKnownFunctionAttributes()11238 for (; !DC->isTranslationUnit(); DC = DC->getParent()) { in createFriendTagNNSFixIt()[all …]
123 } while (!EnclosingDC->isTranslationUnit() && in getStackIndexOfNearestEnclosingCaptureReadyLambda()
99 if (Ctx->isTranslationUnit()) { in getTemplateInstantiationArgs()
709 if (CanonicalVD->getDeclContext()->isTranslationUnit() && in ActOnOpenMPIdExpression()710 !getCurLexicalContext()->isTranslationUnit()) { in ActOnOpenMPIdExpression()
688 if (!Found && DC->isTranslationUnit() && LookupBuiltin(S, R)) in LookupDirect()
176 DC && !DC->isTranslationUnit() && !DC->isNamespace(); in getParentFunctionOrMethod()265 while (!DC->isTranslationUnit()) { in getTranslationUnitDecl()832 if (!getParent()->getRedeclContext()->isTranslationUnit()) in isStdNamespace()1311 (isTranslationUnit() && in buildLookupImpl()1530 !isTranslationUnit()))) { in makeDeclVisibleInContextWithFlags()
93 while (!DC->isNamespace() && !DC->isTranslationUnit()) { in GetLocalClassDecl()449 while (!DC->isNamespace() && !DC->isTranslationUnit()) in shouldMangleCXXName()451 if (DC->isTranslationUnit() && D->getFormalLinkage() != InternalLinkage && in shouldMangleCXXName()542 ->isTranslationUnit()) in isStd()598 while (!DC->isNamespace() && !DC->isTranslationUnit()) in mangleName()607 if (DC->isTranslationUnit() || isStdNamespace(DC)) { in mangleName()632 if (DC->isTranslationUnit() || isStdNamespace(DC)) { in mangleName()1347 if (DC->isTranslationUnit()) in manglePrefix()
357 while (!DC->isNamespace() && !DC->isTranslationUnit()) in shouldMangleCXXName()360 if (DC->isTranslationUnit() && D->getFormalLinkage() == InternalLinkage && in shouldMangleCXXName()839 while (!DC->isTranslationUnit()) { in mangleNestedName()
2457 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator()2486 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReplaceableGlobalAllocationFunction()2724 if (!Redecl->getLexicalDeclContext()->isTranslationUnit()) in RedeclForcesDefC99()
174 while (!DC->isTranslationUnit()) in dumpDeclContext()
860 if (DC->isTranslationUnit()) return; in AppendScope()
346 if (DC->isTranslationUnit()) { in FormatASTNodeDiagnosticArgument()
2277 while (!DC->isTranslationUnit()) in dumpLookups()
158 FD->getParent()->isTranslationUnit() && in transformNonObjCToObjCCast()423 FD->getParent()->isTranslationUnit() && in isPassedToCFRetain()
96 FD->getParent()->isTranslationUnit() && in isPlusOne()
1221 bool isTranslationUnit() const { in isTranslationUnit() function
1311 while (DD && !DD->isTranslationUnit()) { in ParseLateTemplatedFuncDef()
1014 Actions.CurContext->isTranslationUnit()) { in ParseFunctionDefinition()
782 if (!(DC->isTranslationUnit() || DC->getLookupParent()->isTranslationUnit())) in AddTopLevelDeclarationToHash()
2644 } else if (DC->isTranslationUnit() && Reader.SemaObj && in ~FindExistingResult()2752 } else if (DC->isTranslationUnit() && Reader.SemaObj && in findExisting()
1351 DC->getParent()->isTranslationUnit()) in emitVTableDefinitions()
377 while (DC && !DC->isTranslationUnit()) { in visitDeclsFromFileRegion()