Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DMangle.cpp59 static bool isExternC(const NamedDecl *ND) { in isExternC() function
61 return FD->isExternC(); in isExternC()
62 return cast<VarDecl>(ND)->isExternC(); in isExternC()
74 if (Context.getLangOpts().CPlusPlus && !isExternC(ND) && in getCallingConvMangling()
DItaniumMangle.cpp75 if (VD->isExternC()) in getEffectiveDeclContext()
79 if (FD->isExternC()) in getEffectiveDeclContext()
598 if (VD->isExternC()) in shouldMangleCXXName()
DDecl.cpp1896 bool VarDecl::isExternC() const { in isExternC() function in VarDecl
2623 bool FunctionDecl::isExternC() const { in isExternC() function in FunctionDecl
3412 if (isExternC()) { in getMemoryFunctionKind()
DMicrosoftMangle.cpp399 if (VD->isExternC()) in shouldMangleCXXName()
462 if (FD->isExternC() && FD->hasAttr<OverloadableAttr>()) in mangleFunctionEncoding()
/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp839 EXPECT_TRUE(matches("extern \"C\" void f() {}", functionDecl(isExternC()))); in TEST()
841 functionDecl(isExternC()))); in TEST()
842 EXPECT_TRUE(notMatches("void f() {}", functionDecl(isExternC()))); in TEST()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp302 REGISTER_MATCHER(isExternC); in RegistryMaps()
/external/clang/lib/StaticAnalyzer/Checkers/
DGenericTaintChecker.cpp597 if ((D->getName().find("stdin") != StringRef::npos) && D->isExternC()) in isStdin()
/external/clang/lib/Index/
DUSRGeneration.cpp221 if ((!Ctx.getLangOpts().CPlusPlus || D->isExternC()) && in VisitFunctionDecl()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3300 AST_MATCHER(FunctionDecl, isExternC) { in AST_MATCHER() argument
3301 return Node.isExternC(); in AST_MATCHER()
/external/clang/lib/Sema/
DSemaDecl.cpp2671 template<typename T> static bool isExternC(T *D) { return D->isExternC(); } in isExternC() function
2672 static bool isExternC(VarTemplateDecl *) { return false; } in isExternC() function
2701 !(isExternC(Old) && isExternC(New))) in checkUsingShadowRedecl()
5765 return D->isExternC(); in isIncompleteDeclExternC()
5841 return FD->isExternC(); in isDeclExternC()
5843 return VD->isExternC(); in isDeclExternC()
6568 if (shadowedVar->isExternC()) { in CheckShadow()
8549 !(II && II->isStr("printf") && NewFD->isExternC() && in ActOnFunctionDeclarator()
8891 if (Previous.empty() && NewFD->isExternC()) { in CheckFunctionDeclaration()
9911 VDecl->isExternC())) && in AddInitializerToDecl()
[all …]
DSemaExceptionSpec.cpp266 Old->isExternC()) { in CheckEquivalentExceptionSpec()
DSemaDeclAttr.cpp6094 if (VD->isExternC()) in ProcessPragmaWeak()
6097 if (FD->isExternC()) in ProcessPragmaWeak()
DSemaDeclCXX.cpp11966 if (FnDecl->isExternC()) { in CheckLiteralOperatorDeclaration()
DSemaExpr.cpp4878 FDecl->isExternC()) { in GatherArgumentsForCall()
/external/clang/include/clang/AST/
DDecl.h1011 bool isExternC() const;
1958 bool isExternC() const;
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp3043 if (FD->isExternC() && !FD->isMain()) { in getFunctionSourceLocation()
3071 if (FD->isExternC() && !FD->isMain()) { in RewriteLineDirective()