Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp65 if (!DC->isTranslationUnit()) in isCLibraryFunction()
/external/clang/lib/Sema/
DIdentifierResolver.cpp323 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
353 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
DCodeCompleteConsumer.cpp380 if (DC->isTranslationUnit()) { in addParentContext()
DSemaDecl.cpp1295 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()
DSemaLambda.cpp123 } while (!EnclosingDC->isTranslationUnit() && in getStackIndexOfNearestEnclosingCaptureReadyLambda()
DSemaOpenMP.cpp613 if (CanonicalVD->getDeclContext()->isTranslationUnit() && in ActOnOpenMPIdExpression()
614 !getCurLexicalContext()->isTranslationUnit()) { in ActOnOpenMPIdExpression()
DSemaTemplateInstantiate.cpp99 if (Ctx->isTranslationUnit()) { in getTemplateInstantiationArgs()
DSemaLookup.cpp683 if (!Found && DC->isTranslationUnit() && LookupBuiltin(S, R)) in LookupDirect()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp158 FD->getParent()->isTranslationUnit() && in transformNonObjCToObjCCast()
423 FD->getParent()->isTranslationUnit() && in isPassedToCFRetain()
DTransforms.cpp96 FD->getParent()->isTranslationUnit() && in isPlusOne()
/external/clang/lib/AST/
DDeclBase.cpp176 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()
DItaniumMangle.cpp85 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()
DMicrosoftMangle.cpp328 while (!DC->isNamespace() && !DC->isTranslationUnit()) in shouldMangleCXXName()
331 if (DC->isTranslationUnit() && D->getFormalLinkage() == InternalLinkage && in shouldMangleCXXName()
809 while (!DC->isTranslationUnit()) { in mangleNestedName()
DDecl.cpp2382 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()
DDeclPrinter.cpp173 while (!DC->isTranslationUnit()) in dumpDeclContext()
DTypePrinter.cpp843 if (DC->isTranslationUnit()) return; in AppendScope()
DASTDiagnostic.cpp345 if (DC->isTranslationUnit()) { in FormatASTNodeDiagnosticArgument()
DASTDumper.cpp2169 while (!DC->isTranslationUnit()) in dumpLookups()
/external/clang/include/clang/AST/
DDeclBase.h1149 bool isTranslationUnit() const { in isTranslationUnit() function
/external/clang/lib/Parse/
DParseTemplate.cpp1293 while (DD && !DD->isTranslationUnit()) { in ParseLateTemplatedFuncDef()
DParser.cpp1009 Actions.CurContext->isTranslationUnit()) { in ParseFunctionDefinition()
/external/clang/lib/Frontend/
DASTUnit.cpp799 if (!(DC->isTranslationUnit() || DC->getLookupParent()->isTranslationUnit())) in AddTopLevelDeclarationToHash()
/external/chromium_org/tools/clang/blink_gc_plugin/
DBlinkGCPlugin.cpp1102 !context->isTranslationUnit(); in InCheckedNamespace()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2391 if (DC->isTranslationUnit() && Reader.SemaObj) { in ~FindExistingResult()
2413 if (DC->isTranslationUnit() && Reader.SemaObj) { in findExisting()
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp1243 DC->getParent()->isTranslationUnit()) in emitVTableDefinitions()

12