Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DMangle.cpp74 static bool isExternC(const NamedDecl *ND) { in isExternC() function
76 return FD->isExternC(); in isExternC()
78 return VD->isExternC(); in isExternC()
97 if (Context.getLangOpts().CPlusPlus && !isExternC(ND) && in getCallingConvMangling()
H A DDecl.cpp1158 if (VD->isExternC()) in isReserved()
1161 if (FD->isExternC()) in isReserved()
2244 bool VarDecl::isExternC() const { in isExternC() function in VarDecl
3356 isExternC()); in isMain()
3555 bool FunctionDecl::isExternC() const { in isExternC() function in FunctionDecl
4569 if (isExternC()) { in getMemoryFunctionKind()
H A DMicrosoftMangle.cpp554 if (VD->isExternC()) in shouldMangleCXXName()
650 if (FD->isExternC() && FD->hasAttr<OverloadableAttr>()) in mangleFunctionEncoding()
H A DItaniumMangle.cpp688 if (VD->isExternC()) in getEffectiveDeclContext()
695 if (FD->isExternC()) in getEffectiveDeclContext()
781 if (VD->isExternC()) in shouldMangleCXXName()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DErrnoChecker.cpp205 if (CallF->isExternC() && CallF->isGlobal() && in checkPreCall()
H A DGenericTaintChecker.cpp100 if (D->getName() == "stdin" && D->hasExternalStorage() && D->isExternC()) { in isStdin()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFunctionEffects.cpp610 bool isExternC = false; in verifyDecl() local
613 isExternC = FD->getCanonicalDecl()->isExternCContext(); in verifyDecl()
618 if (S.getLangOpts().CPlusPlus && !isExternC) { in verifyDecl()
H A DSemaDecl.cpp3503 template<typename T> static bool isExternC(T *D) { return D->isExternC(); } in isExternC() function
3504 static bool isExternC(VarTemplateDecl *) { return false; } in isExternC() function
3505 static bool isExternC(FunctionTemplateDecl *) { return false; } in isExternC() function
3534 !(isExternC(Old) && isExternC(New))) in checkUsingShadowRedecl()
3956 else if (Old->isExternC() && New->isExternC() && in MergeFunctionDecl()
7310 return D->isExternC(); in isIncompleteDeclExternC()
7383 return FD->isExternC(); in isDeclExternC()
7385 return VD->isExternC(); in isDeclExternC()
7532 VD->isExternC()); in isMainVar()
8253 << NewVD->isExternC(); in ActOnVariableDeclarator()
[all …]
H A DSema.cpp930 return FD->isExternC(); in isFunctionOrVarDeclExternC()
931 return cast<VarDecl>(ND)->isExternC(); in isFunctionOrVarDeclExternC()
H A DSemaExceptionSpec.cpp360 Old->isExternC()) { in CheckEquivalentExceptionSpec()
H A DSemaDeclAttr.cpp8149 if (VD->isExternC()) in ProcessPragmaWeak()
8152 if (FD->isExternC()) in ProcessPragmaWeak()
H A DSemaExpr.cpp6108 FDecl->isExternC()) { in GatherArgumentsForCall()
18172 if (S.getLangOpts().CPlusPlus && !FD->isExternC()) in funcHasParameterSizeMangling()
H A DSemaDeclCXX.cpp16983 if (FnDecl->isExternC()) { in CheckLiteralOperatorDeclaration()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp441 REGISTER_MATCHER(isExternC); in RegistryMaps()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp251 if ((!LangOpts.CPlusPlus || D->isExternC()) && in VisitFunctionDecl()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5442 AST_POLYMORPHIC_MATCHER(isExternC, AST_POLYMORPHIC_SUPPORTED_TYPES(FunctionDecl, in AST_POLYMORPHIC_MATCHER() argument
5444 return Node.isExternC(); in AST_POLYMORPHIC_MATCHER()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1217 bool isExternC() const;
2634 bool isExternC() const;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp1919 if (FDecl->isExternC()) in HasStrictReturn()
1923 if (VDecl->isExternC()) in HasStrictReturn()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp3043 if (FD->isExternC() && !FD->isMain()) { in getFunctionSourceLocation()
3071 if (FD->isExternC() && !FD->isMain()) { in RewriteLineDirective()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp4288 if (FReDecl->isExternC()) { in checkUnsafeBufferUsage()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc9591 {"_ZNK5clang7VarDecl9isExternCEv", "clang::VarDecl::isExternC() const"},
9620 {"_ZNK5clang12FunctionDecl9isExternCEv", "clang::FunctionDecl::isExternC() const"},