Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp65 if (!DC->isTranslationUnit()) in isCLibraryFunction()
/external/clang/lib/Sema/
DIdentifierResolver.cpp331 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
361 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
DCodeCompleteConsumer.cpp377 if (DC->isTranslationUnit()) { in addParentContext()
DSemaDecl.cpp1343 while (!DC->isTranslationUnit()) { in mightHaveNonExternalLinkage()
4719 CurContext->getEnclosingNamespaceContext()->isTranslationUnit(); in HandleDeclarator()
4720 } else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator()
4945 ND->getLexicalDeclContext()->getRedeclContext()->isTranslationUnit()) in RegisterLocallyScopedExternCDecl()
5077 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl()
6181 if (ND->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in checkForConflictWithNonVisibleExternC()
6193 if (ND->getDeclContext()->getRedeclContext()->isTranslationUnit()) in checkForConflictWithNonVisibleExternC()
7864 NewFD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnFunctionDeclarator()
10967 FD->getDeclContext()->isTranslationUnit()) || in AddKnownFunctionAttributes()
11238 for (; !DC->isTranslationUnit(); DC = DC->getParent()) { in createFriendTagNNSFixIt()
[all …]
DSemaLambda.cpp123 } while (!EnclosingDC->isTranslationUnit() && in getStackIndexOfNearestEnclosingCaptureReadyLambda()
DSemaTemplateInstantiate.cpp99 if (Ctx->isTranslationUnit()) { in getTemplateInstantiationArgs()
DSemaOpenMP.cpp709 if (CanonicalVD->getDeclContext()->isTranslationUnit() && in ActOnOpenMPIdExpression()
710 !getCurLexicalContext()->isTranslationUnit()) { in ActOnOpenMPIdExpression()
DSemaLookup.cpp688 if (!Found && DC->isTranslationUnit() && LookupBuiltin(S, R)) in LookupDirect()
/external/clang/lib/AST/
DDeclBase.cpp176 DC && !DC->isTranslationUnit() && !DC->isNamespace(); in getParentFunctionOrMethod()
265 while (!DC->isTranslationUnit()) { in getTranslationUnitDecl()
832 if (!getParent()->getRedeclContext()->isTranslationUnit()) in isStdNamespace()
1311 (isTranslationUnit() && in buildLookupImpl()
1530 !isTranslationUnit()))) { in makeDeclVisibleInContextWithFlags()
DItaniumMangle.cpp93 while (!DC->isNamespace() && !DC->isTranslationUnit()) { in GetLocalClassDecl()
449 while (!DC->isNamespace() && !DC->isTranslationUnit()) in shouldMangleCXXName()
451 if (DC->isTranslationUnit() && D->getFormalLinkage() != InternalLinkage && in shouldMangleCXXName()
542 ->isTranslationUnit()) in isStd()
598 while (!DC->isNamespace() && !DC->isTranslationUnit()) in mangleName()
607 if (DC->isTranslationUnit() || isStdNamespace(DC)) { in mangleName()
632 if (DC->isTranslationUnit() || isStdNamespace(DC)) { in mangleName()
1347 if (DC->isTranslationUnit()) in manglePrefix()
DMicrosoftMangle.cpp357 while (!DC->isNamespace() && !DC->isTranslationUnit()) in shouldMangleCXXName()
360 if (DC->isTranslationUnit() && D->getFormalLinkage() == InternalLinkage && in shouldMangleCXXName()
839 while (!DC->isTranslationUnit()) { in mangleNestedName()
DDecl.cpp2457 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator()
2486 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReplaceableGlobalAllocationFunction()
2724 if (!Redecl->getLexicalDeclContext()->isTranslationUnit()) in RedeclForcesDefC99()
DDeclPrinter.cpp174 while (!DC->isTranslationUnit()) in dumpDeclContext()
DTypePrinter.cpp860 if (DC->isTranslationUnit()) return; in AppendScope()
DASTDiagnostic.cpp346 if (DC->isTranslationUnit()) { in FormatASTNodeDiagnosticArgument()
DASTDumper.cpp2277 while (!DC->isTranslationUnit()) in dumpLookups()
/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/include/clang/AST/
DDeclBase.h1221 bool isTranslationUnit() const { in isTranslationUnit() function
/external/clang/lib/Parse/
DParseTemplate.cpp1311 while (DD && !DD->isTranslationUnit()) { in ParseLateTemplatedFuncDef()
DParser.cpp1014 Actions.CurContext->isTranslationUnit()) { in ParseFunctionDefinition()
/external/clang/lib/Frontend/
DASTUnit.cpp782 if (!(DC->isTranslationUnit() || DC->getLookupParent()->isTranslationUnit())) in AddTopLevelDeclarationToHash()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2644 } else if (DC->isTranslationUnit() && Reader.SemaObj && in ~FindExistingResult()
2752 } else if (DC->isTranslationUnit() && Reader.SemaObj && in findExisting()
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp1351 DC->getParent()->isTranslationUnit()) in emitVTableDefinitions()
/external/clang/tools/libclang/
DCIndex.cpp377 while (DC && !DC->isTranslationUnit()) { in visitDeclsFromFileRegion()

12