Home
last modified time | relevance | path

Searched refs:isExternC (Results 1 – 20 of 20) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DMangle.cpp58 static bool isExternC(const NamedDecl *ND) { in isExternC() function
60 return FD->isExternC(); in isExternC()
62 return VD->isExternC(); in isExternC()
81 if (Context.getLangOpts().CPlusPlus && !isExternC(ND) && in getCallingConvMangling()
H A DDecl.cpp1145 if (VD->isExternC()) in isReserved()
1148 if (FD->isExternC()) in isReserved()
2242 bool VarDecl::isExternC() const { in isExternC() function in VarDecl
3447 bool FunctionDecl::isExternC() const { in isExternC() function in FunctionDecl
4425 if (isExternC()) { in getMemoryFunctionKind()
H A DMicrosoftMangle.cpp533 if (VD->isExternC()) in shouldMangleCXXName()
604 if (FD->isExternC() && FD->hasAttr<OverloadableAttr>()) in mangleFunctionEncoding()
H A DItaniumMangle.cpp694 if (VD->isExternC()) in getEffectiveDeclContext()
698 if (FD->isExternC()) in getEffectiveDeclContext()
784 if (VD->isExternC()) in shouldMangleCXXName()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DErrnoChecker.cpp206 if (CallF->isExternC() && CallF->isGlobal() && in checkPreCall()
H A DErrnoModeling.cpp108 FD->isExternC() && FD->getNumParams() == 0 && in getErrnoFunc()
H A DGenericTaintChecker.cpp107 if (D->getName() == "stdin" && D->hasExternalStorage() && D->isExternC()) { in isStdin()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp437 REGISTER_MATCHER(isExternC); in RegistryMaps()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp3577 template<typename T> static bool isExternC(T *D) { return D->isExternC(); } in isExternC() function
3578 static bool isExternC(VarTemplateDecl *) { return false; } in isExternC() function
3608 !(isExternC(Old) && isExternC(New))) in checkUsingShadowRedecl()
7338 return D->isExternC(); in isIncompleteDeclExternC()
7413 return FD->isExternC(); in isDeclExternC()
7415 return VD->isExternC(); in isDeclExternC()
8385 if (shadowedVar->isExternC()) { in CheckShadow()
11294 if (!CLinkageMayDiffer && OldFD->isExternC() != NewFD->isExternC()) in areMultiversionVariantFunctionsCompatible()
12202 if (Previous.empty() && NewFD->isExternC()) { in CheckFunctionDeclaration()
13902 !(getLangOpts().CPlusPlus && VDecl->isExternC()) && in AddInitializerToDecl()
[all …]
H A DSema.cpp797 return FD->isExternC(); in isFunctionOrVarDeclExternC()
798 return cast<VarDecl>(ND)->isExternC(); in isFunctionOrVarDeclExternC()
H A DSemaExceptionSpec.cpp366 Old->isExternC()) { in CheckEquivalentExceptionSpec()
H A DSemaDeclAttr.cpp10072 if (VD->isExternC()) in ProcessPragmaWeak()
10075 if (FD->isExternC()) in ProcessPragmaWeak()
H A DSemaExpr.cpp6750 FDecl->isExternC()) { in GatherArgumentsForCall()
18750 if (S.getLangOpts().CPlusPlus && !FD->isExternC()) in funcHasParameterSizeMangling()
H A DSemaDeclCXX.cpp16635 if (FnDecl->isExternC()) { in CheckLiteralOperatorDeclaration()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp256 if ((!Ctx.getLangOpts().CPlusPlus || D->isExternC()) && in VisitFunctionDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1222 bool isExternC() const;
2546 bool isExternC() const;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5372 AST_POLYMORPHIC_MATCHER(isExternC, AST_POLYMORPHIC_SUPPORTED_TYPES(FunctionDecl, in AST_POLYMORPHIC_MATCHER() argument
5374 return Node.isExternC(); in AST_POLYMORPHIC_MATCHER()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp2671 if (FReDecl->isExternC()) { in checkUnsafeBufferUsage()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp1844 if (FDecl->isExternC()) in HasStrictReturn()
1848 if (VDecl->isExternC()) in HasStrictReturn()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp3045 if (FD->isExternC() && !FD->isMain()) { in getFunctionSourceLocation()
3073 if (FD->isExternC() && !FD->isMain()) { in RewriteLineDirective()