Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Basic/
H A DLinkage.h95 inline Linkage getFormalLinkage(Linkage L) { in getFormalLinkage() function
109 return getFormalLinkage(L) == ExternalLinkage; in isExternalFormalLinkage()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaModule.cpp850 if (HasName && ND->getFormalLinkage() == InternalLinkage) { in checkExportedDecl()
862 Linkage Lk = Target->getFormalLinkage(); in checkExportedDecl()
H A DSemaDecl.cpp1691 auto Lk = Old->getFormalLinkage(); in CheckRedeclarationExported()
4732 (New->getFormalLinkage() == InternalLinkage || in checkVarDeclRedefinition()
10832 if (OldFD->getFormalLinkage() != NewFD->getFormalLinkage()) in areMultiversionVariantFunctionsCompatible()
14632 (Definition->getFormalLinkage() == InternalLinkage || in CheckForFunctionRedefinition()
H A DSemaTemplate.cpp6627 if (Entity->getFormalLinkage() == InternalLinkage) { in CheckTemplateArgumentAddressOfObjectOrFunction()
9553 D->getFormalLinkage() == InternalLinkage) { in CheckExplicitInstantiation()
H A DSemaOverload.cpp6416 if (ND->getFormalLinkage() == Linkage::InternalLinkage) { in AddOverloadCandidate()
H A DSemaChecking.cpp5775 FDecl->getFormalLinkage() != InternalLinkage && in checkCall()
H A DSemaExpr.cpp173 if (D->getFormalLinkage() != InternalLinkage) in diagnoseUseOfInternalDeclInInlineFunction()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexSymbol.cpp68 switch (ND->getFormalLinkage()) { in isFunctionLocalSymbol()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp432 switch (ND->getFormalLinkage()) { in isFunctionLocalDecl()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDecl.h396 Linkage getFormalLinkage() const { in getFormalLinkage() function
397 return clang::getFormalLinkage(getLinkageInternal()); in getFormalLinkage()
/llvm-project-15.0.7/clang/lib/AST/
H A DItaniumMangle.cpp669 if (ND && ND->getFormalLinkage() == InternalLinkage && in isInternalLinkageDecl()
751 if (DC->isTranslationUnit() && D->getFormalLinkage() != InternalLinkage && in shouldMangleCXXName()
H A DMicrosoftMangle.cpp537 if (DC->isTranslationUnit() && D->getFormalLinkage() == InternalLinkage && in shouldMangleCXXName()
H A DDecl.cpp1852 return getFormalLinkage() != NoLinkage; in hasLinkage()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.cpp3548 if (FD->getFormalLinkage() == InternalLinkage) in getMultiversionLinkage()
4608 if (!D->getIdentifier() || D->getFormalLinkage() != InternalLinkage) in MaybeHandleStaticInExternC()