Searched refs:isTranslationUnit (Results 1 – 25 of 29) sorted by relevance
12
65 if (!DC->isTranslationUnit()) in isCLibraryFunction()
323 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()353 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
380 if (DC->isTranslationUnit()) { in addParentContext()
1295 while (!DC->isTranslationUnit()) { in mightHaveNonExternalLinkage()4475 CurContext->getEnclosingNamespaceContext()->isTranslationUnit(); in HandleDeclarator()4476 } else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator()4701 ND->getLexicalDeclContext()->getRedeclContext()->isTranslationUnit()) in RegisterLocallyScopedExternCDecl()4847 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl()5918 if (ND->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in checkForConflictWithNonVisibleExternC()5930 if (ND->getDeclContext()->getRedeclContext()->isTranslationUnit()) in checkForConflictWithNonVisibleExternC()7591 NewFD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnFunctionDeclarator()10432 FD->getDeclContext()->isTranslationUnit()) || in AddKnownFunctionAttributes()11491 New->getDeclContext()->getRedeclContext()->isTranslationUnit() && in ActOnTag()
123 } while (!EnclosingDC->isTranslationUnit() && in getStackIndexOfNearestEnclosingCaptureReadyLambda()
613 if (CanonicalVD->getDeclContext()->isTranslationUnit() && in ActOnOpenMPIdExpression()614 !getCurLexicalContext()->isTranslationUnit()) { in ActOnOpenMPIdExpression()
99 if (Ctx->isTranslationUnit()) { in getTemplateInstantiationArgs()
683 if (!Found && DC->isTranslationUnit() && LookupBuiltin(S, R)) in LookupDirect()
158 FD->getParent()->isTranslationUnit() && in transformNonObjCToObjCCast()423 FD->getParent()->isTranslationUnit() && in isPassedToCFRetain()
96 FD->getParent()->isTranslationUnit() && in isPlusOne()
176 DC && !DC->isTranslationUnit() && !DC->isNamespace(); in getParentFunctionOrMethod()265 while (!DC->isTranslationUnit()) { in getTranslationUnitDecl()811 if (!getParent()->getRedeclContext()->isTranslationUnit()) in isStdNamespace()1277 (isTranslationUnit() && in buildLookupImpl()1482 !isTranslationUnit()))) { in makeDeclVisibleInContextWithFlags()
85 while (!DC->isNamespace() && !DC->isTranslationUnit()) { in GetLocalClassDecl()429 while (!DC->isNamespace() && !DC->isTranslationUnit()) in shouldMangleCXXName()431 if (DC->isTranslationUnit() && D->getFormalLinkage() != InternalLinkage && in shouldMangleCXXName()522 ->isTranslationUnit()) in isStd()578 while (!DC->isNamespace() && !DC->isTranslationUnit()) in mangleName()587 if (DC->isTranslationUnit() || isStdNamespace(DC)) { in mangleName()612 if (DC->isTranslationUnit() || isStdNamespace(DC)) { in mangleName()1497 if (DC->isTranslationUnit()) in manglePrefix()
328 while (!DC->isNamespace() && !DC->isTranslationUnit()) in shouldMangleCXXName()331 if (DC->isTranslationUnit() && D->getFormalLinkage() == InternalLinkage && in shouldMangleCXXName()809 while (!DC->isTranslationUnit()) { in mangleNestedName()
2382 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator()2411 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReplaceableGlobalAllocationFunction()2453 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in getCorrespondingUnsizedGlobalDeallocationFunction()2674 if (!Redecl->getLexicalDeclContext()->isTranslationUnit()) in RedeclForcesDefC99()
173 while (!DC->isTranslationUnit()) in dumpDeclContext()
345 if (DC->isTranslationUnit()) { in FormatASTNodeDiagnosticArgument()
843 if (DC->isTranslationUnit()) return; in AppendScope()
2169 while (!DC->isTranslationUnit()) in dumpLookups()
1149 bool isTranslationUnit() const { in isTranslationUnit() function
1293 while (DD && !DD->isTranslationUnit()) { in ParseLateTemplatedFuncDef()
1009 Actions.CurContext->isTranslationUnit()) { in ParseFunctionDefinition()
799 if (!(DC->isTranslationUnit() || DC->getLookupParent()->isTranslationUnit())) in AddTopLevelDeclarationToHash()
1454 !context->isTranslationUnit(); in InCheckedNamespace()
2391 if (DC->isTranslationUnit() && Reader.SemaObj) { in ~FindExistingResult()2413 if (DC->isTranslationUnit() && Reader.SemaObj) { in findExisting()
1243 DC->getParent()->isTranslationUnit()) in emitVTableDefinitions()