Home
last modified time | relevance | path

Searched refs:isExternallyVisible (Results 1 – 25 of 38) 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.cpp38 return isExternallyVisible(LV.getLinkage()) && in isExported()
309 assert(D->isExternallyVisible() && "Should be externally visible"); in hasVTable()
349 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/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.cpp1087 if (!RD->isExternallyVisible()) in getVTableLinkage()
1314 if (!isExternallyVisible(LV.getLinkage())) in HasHiddenLTOVisibility()
1336 if (!isExternallyVisible(LV.getLinkage())) in GetVCallVisibilityLevel()
H A DCodeGenTBAA.cpp343 if (!ETy->getDecl()->isExternallyVisible()) in getTypeInfoHelper()
H A DMicrosoftCXXABI.cpp392 SrcRD->isExternallyVisible() && DstRD->isExternallyVisible() in getAddrOfVirtualDisplacementMap()
2081 ThunkFn->setLinkage(MD->isExternallyVisible() in EmitVirtualMemPtrThunk()
2084 if (MD->isExternallyVisible()) in EmitVirtualMemPtrThunk()
2641 if (D.isExternallyVisible()) { in EmitGuardedInit()
2655 if (D.isExternallyVisible()) in EmitGuardedInit()
H A DCGDebugInfo.cpp1289 if (TD->isExternallyVisible()) in needsTypeIdentifier()
2289 if (!Method->isExternallyVisible()) in CreateCXXMemberFunction()
2873 if (!RD->isExternallyVisible() && RD->getName().empty()) in isDefinedInClangModule()
4361 if (!FD->isExternallyVisible()) in getFunctionFwdDeclOrStub()
4411 !VD->isExternallyVisible(), nullptr, TemplateParameters, Align); in getGlobalVariableForwardDeclaration()
5721 if (!ED->isExternallyVisible()) { in TraverseEnumType()
H A DCGDeclCXX.cpp567 supportsCOMDAT() && D->isExternallyVisible() ? Addr : nullptr; in EmitCXXGlobalVarDeclInitFunc()
H A DCodeGenModule.cpp1912 if (D && D->isExternallyVisible()) { in setDLLImportDLLExport()
2988 if (isExternallyVisible(LV.getLinkage()) && in setLinkageForGV()
3922 isExternallyVisible(TPO->getLinkageAndVisibility().getLinkage()) in GetAddrOfTemplateParamObject()
5303 isExternallyVisible(D->getLinkageAndVisibility().getLinkage())) in GetOrCreateLLVMGlobal()
7855 if (isExternallyVisible(T->getLinkage())) { in CreateMetadataIdentifierImpl()
H A DCGDecl.cpp235 assert(!D.isExternallyVisible() && "name shouldn't matter"); in getStaticDeclName()
H A DCGBlocks.cpp633 if (!record->isExternallyVisible()) in computeBlockInfo()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp871 if (D->isExternallyVisible()) in ShouldRemoveFromUnused()
971 if (FD->isExternallyVisible() && in getUndefinedButUsed()
982 if (VD->isExternallyVisible() && in getUndefinedButUsed()
1023 S.Diag(VD->getLocation(), isExternallyVisible(VD->getType()->getLinkage()) in checkUndefinedButUsed()
1027 } else if (!VD->isExternallyVisible()) { in checkUndefinedButUsed()
H A DSemaDecl.cpp1834 return !D->isExternallyVisible(); in mightHaveNonExternalLinkage()
6976 if (!ND.isExternallyVisible()) { in checkWeakAttr()
6985 if (ND.isExternallyVisible()) { in checkWeakRefAttr()
6997 !VD->isExternallyVisible() && "Broken AliasAttr handled late!"); in checkAliasAttr()
7009 if (isa<FunctionDecl>(ND) || !ND.isExternallyVisible()) { in checkSelectAnyAttr()
7019 if (!ND.isExternallyVisible()) in checkHybridPatchableAttr()
7042 if ((ND.isExternallyVisible() && AnonNSInMicrosoftMode) || in checkInheritableAttr()
7044 (!ND.isExternallyVisible() || (VD && VD->isStaticLocal())))) { in checkInheritableAttr()
10885 if (!DC->isRecord() && NewFD->isExternallyVisible()) in ActOnFunctionDeclarator()
14580 var->isExternallyVisible() && var->hasLinkage() && in CheckCompleteVariableDeclaration()
[all …]
H A DSemaARM.cpp1294 if (!FD->isExternallyVisible()) { in handleCmseNSEntryAttr()
H A DSemaLambda.cpp313 ND->isExternallyVisible()) in getCurrentMangleNumberContext()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp777 if (!isExternallyVisible(TypeLV.getLinkage())) in getLVForNamespaceScopeDecl()
830 if (!isExternallyVisible(TypeAsWritten->getLinkage())) in getLVForNamespaceScopeDecl()
906 if (!isExternallyVisible(LV.getLinkage())) in getLVForNamespaceScopeDecl()
961 if (!isExternallyVisible(classLV.getLinkage())) in getLVForClassMember()
977 if (!isExternallyVisible(TypeAsWritten->getLinkage())) in getLVForClassMember()
1347 if (!isExternallyVisible(OwnerLV.getLinkage())) in getLVForClosure()
1450 if (!isExternallyVisible(LV.getLinkage())) in getLVForLocalDecl()
H A DMicrosoftMangle.cpp229 if (ND->isExternallyVisible()) { in getNextDiscriminator()
280 assert(!RD->isExternallyVisible() && "RD must not be visible!"); in getLambdaId()
290 assert(!RD->isExternallyVisible() && "RD must not be visible!"); in getLambdaIdForDebugInfo()
4188 bool Visible = VD->isExternallyVisible(); in mangleStaticGuardVariable()
H A DItaniumMangle.cpp149 if (ND->isExternallyVisible()) { in getNextDiscriminator()
710 !ND->isExternallyVisible() && in isInternalLinkageDecl()
1111 if (ND->isExternallyVisible()) in mangleModuleName()
1665 if (TD->isExternallyVisible()) { in mangleUnqualifiedName()
H A DRecordLayoutBuilder.cpp2342 if (!RD->isExternallyVisible()) in computeKeyFunction()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenDecl.cpp244 assert(!d.isExternallyVisible() && "name shouldn't matter"); in getStaticDeclName()
H A DCIRGenModule.cpp504 if (isExternallyVisible(lv.getLinkage()) && in setLinkageForGV()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h432 bool isExternallyVisible() const { in isExternallyVisible() function
433 return clang::isExternallyVisible(getLinkageInternal()); in isExternallyVisible()
439 return isExternallyVisible() && !getOwningModuleForLinkage(); in isExternallyDeclarable()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp190 if (D->isExternallyVisible()) in ShouldGenerateLocation()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp249 if (!isExternallyVisible(L)) in shouldSkipWritingSpecializations()
254 if (!TA.getAsDecl()->isExternallyVisible()) in shouldSkipWritingSpecializations()

12