Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp65 if (!DC->isTranslationUnit()) in isCLibraryFunction()
/external/clang/lib/Sema/
DIdentifierResolver.cpp364 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
394 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
DCodeCompleteConsumer.cpp381 if (DC->isTranslationUnit()) { in addParentContext()
DSemaExceptionSpec.cpp246 if (New->getDeclContext()->isTranslationUnit()) in CheckEquivalentExceptionSpec()
479 DC->getEnclosingNamespaceContext()->isTranslationUnit()) { in CheckEquivalentExceptionSpec()
DSemaDecl.cpp1191 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()
DSemaTemplateInstantiate.cpp71 if (Ctx->isTranslationUnit()) { in getTemplateInstantiationArgs()
DSemaTemplateInstantiateDecl.cpp861 DCParent2->getParent()->isTranslationUnit()) in VisitClassTemplateDecl()
DSemaLookup.cpp666 if (!Found && DC->isTranslationUnit() && LookupBuiltin(S, R)) in LookupDirect()
DSemaTemplate.cpp7390 } else if (DC->isTranslationUnit() || DC->isNamespace()) in IsInsideALocalClassWithinATemplateFunction()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp150 FD->getParent()->isTranslationUnit() && in transformNonObjCToObjCCast()
415 FD->getParent()->isTranslationUnit() && in isPassedToCFRetain()
DTransforms.cpp96 FD->getParent()->isTranslationUnit() && in isPlusOne()
/external/clang/lib/AST/
DMicrosoftMangle.cpp166 !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()
DItaniumMangle.cpp71 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()
DDeclBase.cpp168 DC && !DC->isTranslationUnit() && !DC->isNamespace(); in getParentFunctionOrMethod()
253 while (!DC->isTranslationUnit()) { in getTranslationUnitDecl()
1362 !isTranslationUnit()))) { in makeDeclVisibleInContextWithFlags()
DDecl.cpp2038 assert(getDeclContext()->getRedeclContext()->isTranslationUnit()); in isReservedGlobalPlacementOperator()
2155 getDeclContext()->isTranslationUnit()) in getBuiltinID()
2241 if (!Redecl->getLexicalDeclContext()->isTranslationUnit()) in RedeclForcesDefC99()
DDeclPrinter.cpp172 while (!DC->isTranslationUnit()) in dumpDeclContext()
DASTDiagnostic.cpp330 if (DC->isTranslationUnit()) { in FormatASTNodeDiagnosticArgument()
DTypePrinter.cpp804 if (DC->isTranslationUnit()) return; in AppendScope()
/external/clang/include/clang/AST/
DDeclBase.h1054 bool isTranslationUnit() const { in isTranslationUnit() function
/external/clang/lib/CodeGen/
DCGVTables.cpp833 DC->getParent()->isTranslationUnit()) in GenerateClassData()
/external/clang/lib/Parse/
DParseTemplate.cpp1271 while (DD && !DD->isTranslationUnit()) { in ParseLateTemplatedFuncDef()
DParser.cpp999 Actions.CurContext->isTranslationUnit()) { in ParseFunctionDefinition()
/external/clang/lib/Frontend/
DASTUnit.cpp865 if (!(DC->isTranslationUnit() || DC->getLookupParent()->isTranslationUnit())) in AddTopLevelDeclarationToHash()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1789 if (New->getDeclContext()->getRedeclContext()->isTranslationUnit() in ~FindExistingResult()
1812 if (DC->isTranslationUnit() && Reader.SemaObj) { in findExisting()
DASTWriter.cpp3106 if (DC->isTranslationUnit() && !Context.getLangOpts().CPlusPlus) in WriteDeclContextVisibleBlock()

12