Home
last modified time | relevance | path

Searched refs:isTranslationUnit (Results 1 – 25 of 26) sorted by relevance

12

/external/clang/lib/Sema/
DIdentifierResolver.cpp353 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
383 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
DSemaExceptionSpec.cpp204 if (New->getDeclContext()->isTranslationUnit()) in CheckEquivalentExceptionSpec()
434 DC->getEnclosingNamespaceContext()->isTranslationUnit()) { in CheckEquivalentExceptionSpec()
DCodeCompleteConsumer.cpp382 if (DC->isTranslationUnit()) { in addParentContext()
DSemaDecl.cpp3691 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()
DSemaTemplateInstantiate.cpp71 if (Ctx->isTranslationUnit()) { in getTemplateInstantiationArgs()
DSemaLookup.cpp666 if (!Found && DC->isTranslationUnit() && LookupBuiltin(S, R)) in LookupDirect()
DSemaTemplateInstantiateDecl.cpp798 DCParent2->getParent()->isTranslationUnit()) in VisitClassTemplateDecl()
DSemaTemplate.cpp7364 } else if (DC->isTranslationUnit() || DC->isNamespace()) in IsInsideALocalClassWithinATemplateFunction()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp141 FD->getParent()->isTranslationUnit() && in transformNonObjCToObjCCast()
335 FD->getParent()->isTranslationUnit() && in isPassedToCFRetain()
DTransforms.cpp86 FD->getParent()->isTranslationUnit() && in isPlusOneAssign()
/external/clang/lib/AST/
DMicrosoftMangle.cpp142 !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()
DItaniumMangle.cpp70 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()
DDeclBase.cpp158 DC && !DC->isTranslationUnit() && !DC->isNamespace(); in getParentFunctionOrMethod()
240 while (!DC->isTranslationUnit()) { in getTranslationUnitDecl()
1299 !isTranslationUnit()))) { in makeDeclVisibleInContextWithFlags()
DDecl.cpp1727 assert(getDeclContext()->getRedeclContext()->isTranslationUnit()); in isReservedGlobalPlacementOperator()
1842 getDeclContext()->isTranslationUnit()) in getBuiltinID()
1960 if (!Redecl->getLexicalDeclContext()->isTranslationUnit()) in RedeclForcesDefC99()
DASTDiagnostic.cpp331 if (DC->isTranslationUnit()) { in FormatASTNodeDiagnosticArgument()
DDeclPrinter.cpp167 while (!DC->isTranslationUnit()) in dumpDeclContext()
DTypePrinter.cpp800 if (DC->isTranslationUnit()) return; in AppendScope()
/external/clang/lib/CodeGen/
DCGVTables.cpp734 DC->getParent()->isTranslationUnit()) in GenerateClassData()
/external/clang/include/clang/AST/
DDeclBase.h1058 bool isTranslationUnit() const { in isTranslationUnit() function
/external/clang/lib/Parse/
DParseTemplate.cpp1272 while (DD && !DD->isTranslationUnit()) { in ParseLateTemplatedFuncDef()
DParser.cpp1009 Actions.CurContext->isTranslationUnit()) { in ParseFunctionDefinition()
/external/clang/lib/Frontend/
DASTUnit.cpp837 if (!(DC->isTranslationUnit() || DC->getLookupParent()->isTranslationUnit())) in AddTopLevelDeclarationToHash()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1766 if (DC->isTranslationUnit() && Reader.SemaObj) { in ~FindExistingResult()
1786 if (DC->isTranslationUnit() && Reader.SemaObj) { in findExisting()
DASTWriter.cpp2817 if (DC->isTranslationUnit() && !Context.getLangOpts().CPlusPlus) in WriteDeclContextVisibleBlock()
/external/clang/tools/libclang/
DCIndex.cpp343 while (DC && !DC->isTranslationUnit()) { in visitDeclsFromFileRegion()

12