Home
last modified time | relevance | path

Searched refs:getFormalLinkage (Results 1 – 13 of 13) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DLinkage.h106 inline Linkage getFormalLinkage(Linkage L) { in getFormalLinkage() function
118 return getFormalLinkage(L) == Linkage::External; in isExternalFormalLinkage()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp842 if (HasName && ND->getFormalLinkage() == Linkage::Internal) { in checkExportedDecl()
855 Linkage Lk = Target->getFormalLinkage(); in checkExportedDecl()
H A DSemaDecl.cpp1752 auto Lk = Old->getFormalLinkage(); in CheckRedeclarationExported()
4889 (New->getFormalLinkage() == Linkage::Internal || New->isInline() || in checkVarDeclRedefinition()
11291 if (OldFD->getFormalLinkage() != NewFD->getFormalLinkage()) in areMultiversionVariantFunctionsCompatible()
13546 VDecl->getFormalLinkage() == Linkage::External && !VDecl->isInline() && in AddInitializerToDecl()
15566 (Definition->getFormalLinkage() == Linkage::Internal || in CheckForFunctionRedefinition()
15823 FD->getFormalLinkage() == Linkage::External && !FD->isTemplated() && in ActOnStartOfFunctionDef()
H A DSemaTemplate.cpp6981 if (Entity->getFormalLinkage() == Linkage::Internal) { in CheckTemplateArgumentAddressOfObjectOrFunction()
10110 D->getFormalLinkage() == Linkage::Internal) { in CheckExplicitInstantiation()
H A DSemaOverload.cpp6836 if (ND->getFormalLinkage() == Linkage::Internal) { in AddOverloadCandidate()
H A DSemaChecking.cpp7523 FDecl->getFormalLinkage() != Linkage::Internal && in checkCall()
H A DSemaExpr.cpp176 if (D->getFormalLinkage() != Linkage::Internal) in diagnoseUseOfInternalDeclInInlineFunction()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp68 switch (ND->getFormalLinkage()) { in isFunctionLocalSymbol()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp1200 Linkage NamedDecl::getFormalLinkage() const { in getFormalLinkage() function in NamedDecl
1217 return clang::getFormalLinkage(InternalLinkage); in getFormalLinkage()
1928 switch (getFormalLinkage()) { in hasLinkage()
H A DItaniumMangle.cpp712 if (ND && ND->getFormalLinkage() == Linkage::Internal && in isInternalLinkageDecl()
794 if (DC->isTranslationUnit() && D->getFormalLinkage() != Linkage::Internal && in shouldMangleCXXName()
H A DMicrosoftMangle.cpp543 if (DC->isTranslationUnit() && D->getFormalLinkage() == Linkage::Internal && in shouldMangleCXXName()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h401 Linkage getFormalLinkage() const;
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp4136 if (FD->getFormalLinkage() == Linkage::Internal) in getMultiversionLinkage()
5209 if (!D->getIdentifier() || D->getFormalLinkage() != Linkage::Internal) in MaybeHandleStaticInExternC()