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.cpp1360 while (!DC->isTranslationUnit()) { in mightHaveNonExternalLinkage()
4896 CurContext->getEnclosingNamespaceContext()->isTranslationUnit(); in HandleDeclarator()
4897 } else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator()
5141 ND->getLexicalDeclContext()->getRedeclContext()->isTranslationUnit()) in RegisterLocallyScopedExternCDecl()
5276 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl()
6262 NewVD->getDeclContext()->getRedeclContext()->isTranslationUnit() && in ActOnVariableDeclarator()
6477 if (ND->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in checkForConflictWithNonVisibleExternC()
6489 if (ND->getDeclContext()->getRedeclContext()->isTranslationUnit()) in checkForConflictWithNonVisibleExternC()
8267 NewFD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnFunctionDeclarator()
11485 FD->getDeclContext()->isTranslationUnit()) || in AddKnownFunctionAttributes()
[all …]
DSemaLambda.cpp123 } while (!EnclosingDC->isTranslationUnit() && in getStackIndexOfNearestEnclosingCaptureReadyLambda()
DSemaTemplateInstantiate.cpp99 if (Ctx->isTranslationUnit()) { in getTemplateInstantiationArgs()
DSemaOpenMP.cpp1039 if (CanonicalVD->getDeclContext()->isTranslationUnit() && in ActOnOpenMPIdExpression()
1040 !getCurLexicalContext()->isTranslationUnit()) { in ActOnOpenMPIdExpression()
DSemaLookup.cpp831 if (!Found && DC->isTranslationUnit() && LookupBuiltin(S, R)) in LookupDirect()
/external/clang/lib/AST/
DDeclBase.cpp201 DC && !DC->isTranslationUnit() && !DC->isNamespace(); in getParentFunctionOrMethod()
303 while (!DC->isTranslationUnit()) { in getTranslationUnitDecl()
872 if (!getParent()->getRedeclContext()->isTranslationUnit()) in isStdNamespace()
1347 (isTranslationUnit() && in buildLookupImpl()
1566 !isTranslationUnit()))) { in makeDeclVisibleInContextWithFlags()
DItaniumMangle.cpp93 while (!DC->isNamespace() && !DC->isTranslationUnit()) { in GetLocalClassDecl()
447 while (!DC->isNamespace() && !DC->isTranslationUnit()) in shouldMangleCXXName()
449 if (DC->isTranslationUnit() && D->getFormalLinkage() != InternalLinkage && in shouldMangleCXXName()
540 ->isTranslationUnit()) in isStd()
596 while (!DC->isNamespace() && !DC->isTranslationUnit()) in mangleName()
605 if (DC->isTranslationUnit() || isStdNamespace(DC)) { in mangleName()
630 if (DC->isTranslationUnit() || isStdNamespace(DC)) { in mangleName()
1345 if (DC->isTranslationUnit()) in manglePrefix()
DMicrosoftMangle.cpp364 while (!DC->isNamespace() && !DC->isTranslationUnit()) in shouldMangleCXXName()
367 if (DC->isTranslationUnit() && D->getFormalLinkage() == InternalLinkage && in shouldMangleCXXName()
867 while (!DC->isTranslationUnit()) { in mangleNestedName()
DDecl.cpp2486 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator()
2515 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReplaceableGlobalAllocationFunction()
2750 if (!Redecl->getLexicalDeclContext()->isTranslationUnit()) in RedeclForcesDefC99()
DDeclPrinter.cpp184 while (!DC->isTranslationUnit()) in dumpDeclContext()
DTypePrinter.cpp864 if (DC->isTranslationUnit()) return; in AppendScope()
DASTDiagnostic.cpp410 if (DC->isTranslationUnit()) { in FormatASTNodeDiagnosticArgument()
DASTDumper.cpp2337 while (!DC->isTranslationUnit()) in dumpLookups()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp158 FD->getParent()->isTranslationUnit() && in transformNonObjCToObjCCast()
423 FD->getParent()->isTranslationUnit() && in isPassedToCFRetain()
DTransforms.cpp98 FD->getParent()->isTranslationUnit() && in isPlusOne()
/external/clang/lib/Parse/
DParseTemplate.cpp1332 while (DD && !DD->isTranslationUnit()) { in ParseLateTemplatedFuncDef()
DParser.cpp1048 Actions.CurContext->isTranslationUnit()) { in ParseFunctionDefinition()
/external/clang/include/clang/AST/
DDeclBase.h1264 bool isTranslationUnit() const { in isTranslationUnit() function
/external/clang/lib/Frontend/
DASTUnit.cpp786 if (!(DC->isTranslationUnit() || DC->getLookupParent()->isTranslationUnit())) in AddTopLevelDeclarationToHash()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2728 } else if (DC->isTranslationUnit() && Reader.SemaObj && in ~FindExistingResult()
2833 } else if (DC->isTranslationUnit() && Reader.SemaObj && in findExisting()
DASTWriter.cpp3734 if (DC->isTranslationUnit() && !Context.getLangOpts().CPlusPlus) in WriteDeclContextVisibleBlock()
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp1496 DC->getParent()->isTranslationUnit()) in emitVTableDefinitions()

12