Home
last modified time | relevance | path

Searched refs:isExternallyVisible (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DVisibility.h103 if (!isExternallyVisible(L)) { in mergeExternalVisibility()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp39 return isExternallyVisible(LV.getLinkage()) && in isExported()
310 assert(D->isExternallyVisible() && "Should be externally visible"); in hasVTable()
350 assert(D->isExternallyVisible() && "Record should be externally visible"); in getVTableLinkage()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp100 if (!FD->isInlined() && !FD->isExternallyVisible()) in isCLibraryFunction()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp157 FD->isExternallyVisible()) { in transformNonObjCToObjCCast()
421 FD->isExternallyVisible()) in isPassedToCFRetain()
H A DTransforms.cpp95 FD->isExternallyVisible() && in isPlusOne()
200 DRE->getDecl()->isExternallyVisible(); in isGlobalVar()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSystemZ.cpp90 if (VD->isExternallyVisible()) in setTargetAttributes()
95 if (FD->isExternallyVisible()) in setTargetAttributes()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTables.cpp1079 if (!RD->isExternallyVisible()) in getVTableLinkage()
1304 if (!isExternallyVisible(LV.getLinkage())) in HasHiddenLTOVisibility()
1326 if (!isExternallyVisible(LV.getLinkage())) in GetVCallVisibilityLevel()
H A DCodeGenTBAA.cpp255 if (!ETy->getDecl()->isExternallyVisible()) in getTypeInfoHelper()
H A DMicrosoftCXXABI.cpp390 SrcRD->isExternallyVisible() && DstRD->isExternallyVisible() in getAddrOfVirtualDisplacementMap()
2089 ThunkFn->setLinkage(MD->isExternallyVisible() in EmitVirtualMemPtrThunk()
2092 if (MD->isExternallyVisible()) in EmitVirtualMemPtrThunk()
2649 if (D.isExternallyVisible()) { in EmitGuardedInit()
2663 if (D.isExternallyVisible()) in EmitGuardedInit()
H A DCGDebugInfo.cpp1114 if (TD->isExternallyVisible()) in needsTypeIdentifier()
2116 if (!Method->isExternallyVisible()) in CreateCXXMemberFunction()
2649 if (!RD->isExternallyVisible() && RD->getName().empty()) in isDefinedInClangModule()
4111 if (!FD->isExternallyVisible()) in getFunctionFwdDeclOrStub()
4159 !VD->isExternallyVisible(), nullptr, TemplateParameters, Align); in getGlobalVariableForwardDeclaration()
5458 if (!ED->isExternallyVisible()) { in TraverseEnumType()
H A DCGDeclCXX.cpp563 supportsCOMDAT() && D->isExternallyVisible() ? Addr : nullptr; in EmitCXXGlobalVarDeclInitFunc()
H A DCodeGenModule.cpp1745 if (D && D->isExternallyVisible()) { in setDLLImportDLLExport()
2758 if (isExternallyVisible(LV.getLinkage()) && in setLinkageForGV()
3666 isExternallyVisible(TPO->getLinkageAndVisibility().getLinkage()) in GetAddrOfTemplateParamObject()
5022 isExternallyVisible(D->getLinkageAndVisibility().getLinkage())) in GetOrCreateLLVMGlobal()
7522 if (isExternallyVisible(T->getLinkage())) { in CreateMetadataIdentifierImpl()
H A DCGBlocks.cpp634 if (!record->isExternallyVisible()) in computeBlockInfo()
H A DCGDecl.cpp228 assert(!D.isExternallyVisible() && "name shouldn't matter"); in getStaticDeclName()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp798 if (D->isExternallyVisible()) in ShouldRemoveFromUnused()
898 if (FD->isExternallyVisible() && in getUndefinedButUsed()
909 if (VD->isExternallyVisible() && in getUndefinedButUsed()
950 S.Diag(VD->getLocation(), isExternallyVisible(VD->getType()->getLinkage()) in checkUndefinedButUsed()
954 } else if (!VD->isExternallyVisible()) { in checkUndefinedButUsed()
H A DSemaARM.cpp1302 if (!FD->isExternallyVisible()) { in handleCmseNSEntryAttr()
H A DSemaDecl.cpp1817 return !D->isExternallyVisible(); in mightHaveNonExternalLinkage()
6860 if (!ND.isExternallyVisible()) { in checkAttributesAfterMerging()
6866 if (ND.isExternallyVisible()) { in checkAttributesAfterMerging()
6876 !VD->isExternallyVisible() && "Broken AliasAttr handled late!"); in checkAttributesAfterMerging()
6886 if (isa<FunctionDecl>(ND) || !ND.isExternallyVisible()) { in checkAttributesAfterMerging()
6894 if (!ND.isExternallyVisible()) in checkAttributesAfterMerging()
6914 if ((ND.isExternallyVisible() && AnonNSInMicrosoftMode) || in checkAttributesAfterMerging()
6916 (!ND.isExternallyVisible() || (VD && VD->isStaticLocal())))) { in checkAttributesAfterMerging()
10666 if (!DC->isRecord() && NewFD->isExternallyVisible()) in ActOnFunctionDeclarator()
14219 var->isExternallyVisible() && var->hasLinkage() && in CheckCompleteVariableDeclaration()
[all …]
H A DSemaDeclCXX.cpp6403 (!Class->isExternallyVisible() && Class->hasExternalFormalLinkage())) { in checkClassLevelDLLAttribute()
6408 if (!Class->isExternallyVisible()) { in checkClassLevelDLLAttribute()
6506 if (!cast<NamedDecl>(Member)->isExternallyVisible()) in checkClassLevelDLLAttribute()
18580 Class->isExternallyVisible() && ClassTSK != TSK_ImplicitInstantiation && in DefineUsedVTables()
H A DSemaStmt.cpp3607 if (!R || !R->isLocalClass() || !R->isLocalClass()->isExternallyVisible() || in VisitRecordType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp777 if (!isExternallyVisible(TypeLV.getLinkage())) in getLVForNamespaceScopeDecl()
831 if (!isExternallyVisible(TypeAsWritten->getLinkage())) in getLVForNamespaceScopeDecl()
907 if (!isExternallyVisible(LV.getLinkage())) in getLVForNamespaceScopeDecl()
962 if (!isExternallyVisible(classLV.getLinkage())) in getLVForClassMember()
978 if (!isExternallyVisible(TypeAsWritten->getLinkage())) in getLVForClassMember()
1341 if (!isExternallyVisible(OwnerLV.getLinkage())) in getLVForClosure()
1444 if (!isExternallyVisible(LV.getLinkage())) in getLVForLocalDecl()
H A DMicrosoftMangle.cpp231 if (ND->isExternallyVisible()) { in getNextDiscriminator()
282 assert(!RD->isExternallyVisible() && "RD must not be visible!"); in getLambdaId()
292 assert(!RD->isExternallyVisible() && "RD must not be visible!"); in getLambdaIdForDebugInfo()
4096 bool Visible = VD->isExternallyVisible(); in mangleStaticGuardVariable()
H A DItaniumMangle.cpp151 if (ND->isExternallyVisible()) { in getNextDiscriminator()
712 !ND->isExternallyVisible() && in isInternalLinkageDecl()
1110 if (ND->isExternallyVisible()) in mangleModuleName()
1642 if (TD->isExternallyVisible()) { in mangleUnqualifiedName()
H A DRecordLayoutBuilder.cpp2341 if (!RD->isExternallyVisible()) in computeKeyFunction()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h408 bool isExternallyVisible() const { in isExternallyVisible() function
409 return clang::isExternallyVisible(getLinkageInternal()); in isExternallyVisible()
415 return isExternallyVisible() && !getOwningModuleForLinkage(); in isExternallyDeclarable()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp194 if (D->isExternallyVisible()) in ShouldGenerateLocation()

12