Searched refs:isTranslationUnit (Results 1 – 25 of 27) sorted by relevance
12
65 if (!DC->isTranslationUnit()) in isCLibraryFunction()
364 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()394 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
381 if (DC->isTranslationUnit()) { in addParentContext()
246 if (New->getDeclContext()->isTranslationUnit()) in CheckEquivalentExceptionSpec()479 DC->getEnclosingNamespaceContext()->isTranslationUnit()) { in CheckEquivalentExceptionSpec()
1191 while (!DC->isTranslationUnit()) { in mightHaveNonExternalLinkage()4109 else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator()4497 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl()5077 if (DC->getRedeclContext()->isTranslationUnit()) in mayConflictWithNonVisibleExternC()6549 NewFD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnFunctionDeclarator()9036 FD->getDeclContext()->isTranslationUnit()) || in AddKnownFunctionAttributes()9999 New->getDeclContext()->getRedeclContext()->isTranslationUnit() && in ActOnTag()
71 if (Ctx->isTranslationUnit()) { in getTemplateInstantiationArgs()
861 DCParent2->getParent()->isTranslationUnit()) in VisitClassTemplateDecl()
666 if (!Found && DC->isTranslationUnit() && LookupBuiltin(S, R)) in LookupDirect()
7390 } else if (DC->isTranslationUnit() || DC->isNamespace()) in IsInsideALocalClassWithinATemplateFunction()
150 FD->getParent()->isTranslationUnit() && in transformNonObjCToObjCCast()415 FD->getParent()->isTranslationUnit() && in isPassedToCFRetain()
96 FD->getParent()->isTranslationUnit() && in isPlusOne()
166 !DC->isTranslationUnit(); DC = DC->getParent()) { in isInCLinkageSpecification()199 if (DC->isTranslationUnit() && D->getLinkage() == InternalLinkage) in shouldMangleDeclName()322 while (!DC->isNamespace() && !DC->isTranslationUnit()) in mangleName()558 if (DC->isTranslationUnit()) in manglePostfix()756 while (DC && !DC->isTranslationUnit()) { in getLocalNestingLevel()
71 while (!DC->isNamespace() && !DC->isTranslationUnit()) { in GetLocalClassDecl()404 while (!DC->isNamespace() && !DC->isTranslationUnit()) in shouldMangleDeclName()406 if (DC->isTranslationUnit() && D->getLinkage() != InternalLinkage) in shouldMangleDeclName()495 ->isTranslationUnit()) in isStd()552 while (!DC->isNamespace() && !DC->isTranslationUnit()) in mangleName()561 if (DC->isTranslationUnit() || isStdNamespace(DC)) { in mangleName()586 if (DC->isTranslationUnit() || isStdNamespace(DC)) { in mangleName()1400 if (DC->isTranslationUnit()) in manglePrefix()
168 DC && !DC->isTranslationUnit() && !DC->isNamespace(); in getParentFunctionOrMethod()253 while (!DC->isTranslationUnit()) { in getTranslationUnitDecl()1362 !isTranslationUnit()))) { in makeDeclVisibleInContextWithFlags()
2038 assert(getDeclContext()->getRedeclContext()->isTranslationUnit()); in isReservedGlobalPlacementOperator()2155 getDeclContext()->isTranslationUnit()) in getBuiltinID()2241 if (!Redecl->getLexicalDeclContext()->isTranslationUnit()) in RedeclForcesDefC99()
172 while (!DC->isTranslationUnit()) in dumpDeclContext()
330 if (DC->isTranslationUnit()) { in FormatASTNodeDiagnosticArgument()
804 if (DC->isTranslationUnit()) return; in AppendScope()
1054 bool isTranslationUnit() const { in isTranslationUnit() function
833 DC->getParent()->isTranslationUnit()) in GenerateClassData()
1271 while (DD && !DD->isTranslationUnit()) { in ParseLateTemplatedFuncDef()
999 Actions.CurContext->isTranslationUnit()) { in ParseFunctionDefinition()
865 if (!(DC->isTranslationUnit() || DC->getLookupParent()->isTranslationUnit())) in AddTopLevelDeclarationToHash()
1789 if (New->getDeclContext()->getRedeclContext()->isTranslationUnit() in ~FindExistingResult()1812 if (DC->isTranslationUnit() && Reader.SemaObj) { in findExisting()
3106 if (DC->isTranslationUnit() && !Context.getLangOpts().CPlusPlus) in WriteDeclContextVisibleBlock()