Home
last modified time | relevance | path

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

/freebsd/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.cpp1152 if (VD->isExternC()) in isReserved()
1155 if (FD->isExternC()) in isReserved()
2227 bool VarDecl::isExternC() const { in isExternC() function in VarDecl
3484 bool FunctionDecl::isExternC() const { in isExternC() function in FunctionDecl
4473 if (isExternC()) { in getMemoryFunctionKind()
H A DMicrosoftMangle.cpp544 if (VD->isExternC()) in shouldMangleCXXName()
615 if (FD->isExternC() && FD->hasAttr<OverloadableAttr>()) in mangleFunctionEncoding()
H A DItaniumMangle.cpp693 if (VD->isExternC()) in getEffectiveDeclContext()
697 if (FD->isExternC()) in getEffectiveDeclContext()
783 if (VD->isExternC()) in shouldMangleCXXName()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DErrnoChecker.cpp206 if (CallF->isExternC() && CallF->isGlobal() && in checkPreCall()
H A DGenericTaintChecker.cpp101 if (D->getName() == "stdin" && D->hasExternalStorage() && D->isExternC()) { in isStdin()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp438 REGISTER_MATCHER(isExternC); in RegistryMaps()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp3434 template<typename T> static bool isExternC(T *D) { return D->isExternC(); } in isExternC() function
3435 static bool isExternC(VarTemplateDecl *) { return false; } in isExternC() function
3436 static bool isExternC(FunctionTemplateDecl *) { return false; } in isExternC() function
3465 !(isExternC(Old) && isExternC(New))) in checkUsingShadowRedecl()
7140 return D->isExternC(); in isIncompleteDeclExternC()
7213 return FD->isExternC(); in isDeclExternC()
7215 return VD->isExternC(); in isDeclExternC()
8197 if (shadowedVar->isExternC()) { in CheckShadow()
10716 !(II && II->isStr("printf") && NewFD->isExternC() && in ActOnFunctionDeclarator()
11188 if (!CLinkageMayDiffer && OldFD->isExternC() != NewFD->isExternC()) in areMultiversionVariantFunctionsCompatible()
[all …]
H A DSema.cpp857 return FD->isExternC(); in isFunctionOrVarDeclExternC()
858 return cast<VarDecl>(ND)->isExternC(); in isFunctionOrVarDeclExternC()
H A DSemaExceptionSpec.cpp358 Old->isExternC()) { in CheckEquivalentExceptionSpec()
H A DSemaDeclAttr.cpp7308 if (VD->isExternC()) in ProcessPragmaWeak()
7311 if (FD->isExternC()) in ProcessPragmaWeak()
H A DSemaExpr.cpp5974 FDecl->isExternC()) { in GatherArgumentsForCall()
17731 if (S.getLangOpts().CPlusPlus && !FD->isExternC()) in funcHasParameterSizeMangling()
H A DSemaDeclCXX.cpp16507 if (FnDecl->isExternC()) { in CheckLiteralOperatorDeclaration()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp256 if ((!Ctx.getLangOpts().CPlusPlus || D->isExternC()) && in VisitFunctionDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1186 bool isExternC() const;
2534 bool isExternC() const;
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5396 AST_POLYMORPHIC_MATCHER(isExternC, AST_POLYMORPHIC_SUPPORTED_TYPES(FunctionDecl, in AST_POLYMORPHIC_MATCHER() argument
5398 return Node.isExternC(); in AST_POLYMORPHIC_MATCHER()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp3053 if (FReDecl->isExternC()) { in checkUnsafeBufferUsage()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp1822 if (FDecl->isExternC()) in HasStrictReturn()
1826 if (VDecl->isExternC()) in HasStrictReturn()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp3044 if (FD->isExternC() && !FD->isMain()) { in getFunctionSourceLocation()
3072 if (FD->isExternC() && !FD->isMain()) { in RewriteLineDirective()