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()
1360 while (!DC->isTranslationUnit()) { in mightHaveNonExternalLinkage()4896 CurContext->getEnclosingNamespaceContext()->isTranslationUnit(); in HandleDeclarator()4897 } else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator()5141 ND->getLexicalDeclContext()->getRedeclContext()->isTranslationUnit()) in RegisterLocallyScopedExternCDecl()5276 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl()6262 NewVD->getDeclContext()->getRedeclContext()->isTranslationUnit() && in ActOnVariableDeclarator()6477 if (ND->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in checkForConflictWithNonVisibleExternC()6489 if (ND->getDeclContext()->getRedeclContext()->isTranslationUnit()) in checkForConflictWithNonVisibleExternC()8267 NewFD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnFunctionDeclarator()11485 FD->getDeclContext()->isTranslationUnit()) || in AddKnownFunctionAttributes()[all …]
123 } while (!EnclosingDC->isTranslationUnit() && in getStackIndexOfNearestEnclosingCaptureReadyLambda()
99 if (Ctx->isTranslationUnit()) { in getTemplateInstantiationArgs()
1039 if (CanonicalVD->getDeclContext()->isTranslationUnit() && in ActOnOpenMPIdExpression()1040 !getCurLexicalContext()->isTranslationUnit()) { in ActOnOpenMPIdExpression()
831 if (!Found && DC->isTranslationUnit() && LookupBuiltin(S, R)) in LookupDirect()
201 DC && !DC->isTranslationUnit() && !DC->isNamespace(); in getParentFunctionOrMethod()303 while (!DC->isTranslationUnit()) { in getTranslationUnitDecl()872 if (!getParent()->getRedeclContext()->isTranslationUnit()) in isStdNamespace()1347 (isTranslationUnit() && in buildLookupImpl()1566 !isTranslationUnit()))) { in makeDeclVisibleInContextWithFlags()
93 while (!DC->isNamespace() && !DC->isTranslationUnit()) { in GetLocalClassDecl()447 while (!DC->isNamespace() && !DC->isTranslationUnit()) in shouldMangleCXXName()449 if (DC->isTranslationUnit() && D->getFormalLinkage() != InternalLinkage && in shouldMangleCXXName()540 ->isTranslationUnit()) in isStd()596 while (!DC->isNamespace() && !DC->isTranslationUnit()) in mangleName()605 if (DC->isTranslationUnit() || isStdNamespace(DC)) { in mangleName()630 if (DC->isTranslationUnit() || isStdNamespace(DC)) { in mangleName()1345 if (DC->isTranslationUnit()) in manglePrefix()
364 while (!DC->isNamespace() && !DC->isTranslationUnit()) in shouldMangleCXXName()367 if (DC->isTranslationUnit() && D->getFormalLinkage() == InternalLinkage && in shouldMangleCXXName()867 while (!DC->isTranslationUnit()) { in mangleNestedName()
2486 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator()2515 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReplaceableGlobalAllocationFunction()2750 if (!Redecl->getLexicalDeclContext()->isTranslationUnit()) in RedeclForcesDefC99()
184 while (!DC->isTranslationUnit()) in dumpDeclContext()
864 if (DC->isTranslationUnit()) return; in AppendScope()
410 if (DC->isTranslationUnit()) { in FormatASTNodeDiagnosticArgument()
2337 while (!DC->isTranslationUnit()) in dumpLookups()
158 FD->getParent()->isTranslationUnit() && in transformNonObjCToObjCCast()423 FD->getParent()->isTranslationUnit() && in isPassedToCFRetain()
98 FD->getParent()->isTranslationUnit() && in isPlusOne()
1332 while (DD && !DD->isTranslationUnit()) { in ParseLateTemplatedFuncDef()
1048 Actions.CurContext->isTranslationUnit()) { in ParseFunctionDefinition()
1264 bool isTranslationUnit() const { in isTranslationUnit() function
786 if (!(DC->isTranslationUnit() || DC->getLookupParent()->isTranslationUnit())) in AddTopLevelDeclarationToHash()
2728 } else if (DC->isTranslationUnit() && Reader.SemaObj && in ~FindExistingResult()2833 } else if (DC->isTranslationUnit() && Reader.SemaObj && in findExisting()
3734 if (DC->isTranslationUnit() && !Context.getLangOpts().CPlusPlus) in WriteDeclContextVisibleBlock()
1496 DC->getParent()->isTranslationUnit()) in emitVTableDefinitions()