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()
DDecl.cpp1893 bool VarDecl::isExternC() const { in isExternC() function in VarDecl
2547 bool FunctionDecl::isExternC() const { in isExternC() function in FunctionDecl
3301 if (isExternC()) { in getMemoryFunctionKind()
DItaniumMangle.cpp73 if (VD->isExternC()) in getEffectiveDeclContext()
77 if (FD->isExternC()) in getEffectiveDeclContext()
440 if (VD->isExternC()) in shouldMangleCXXName()
DMicrosoftMangle.cpp357 if (VD->isExternC()) in shouldMangleCXXName()
426 if (FD->isExternC() && FD->hasAttr<OverloadableAttr>()) in mangleFunctionEncoding()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp277 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/include/clang/ASTMatchers/
DASTMatchers.h2928 AST_MATCHER(FunctionDecl, isExternC) { in AST_MATCHER() argument
2929 return Node.isExternC(); in AST_MATCHER()
/external/clang/lib/Index/
DUSRGeneration.cpp209 if (!Ctx.getLangOpts().CPlusPlus || D->isExternC()) in VisitFunctionDecl()
/external/clang/lib/Sema/
DSemaExceptionSpec.cpp260 Old->isExternC()) { in CheckEquivalentExceptionSpec()
DSemaDecl.cpp2597 template<typename T> static bool isExternC(T *D) { return D->isExternC(); } in isExternC() function
2598 static bool isExternC(VarTemplateDecl *) { return false; } in isExternC() function
2627 !(isExternC(Old) && isExternC(New))) in checkUsingShadowRedecl()
5616 return D->isExternC(); in isIncompleteDeclExternC()
5691 return FD->isExternC(); in isDeclExternC()
5693 return VD->isExternC(); in isDeclExternC()
6327 if (shadowedVar->isExternC()) { in CheckShadow()
8557 if (Previous.empty() && NewFD->isExternC()) { in CheckFunctionDeclaration()
9574 VDecl->isExternC())) && in AddInitializerToDecl()
DSemaDeclAttr.cpp5643 if (VD->isExternC()) in ProcessPragmaWeak()
5646 if (FD->isExternC()) in ProcessPragmaWeak()
DSemaDeclCXX.cpp11745 if (FnDecl->isExternC()) { in CheckLiteralOperatorDeclaration()
DSemaExpr.cpp4630 FDecl->isExternC()) { in GatherArgumentsForCall()
/external/clang/include/clang/AST/
DDecl.h938 bool isExternC() const;
1922 bool isExternC() const;
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp1714 EXPECT_TRUE(matches("extern \"C\" void f() {}", functionDecl(isExternC()))); in TEST()
1716 functionDecl(isExternC()))); in TEST()
1717 EXPECT_TRUE(notMatches("void f() {}", functionDecl(isExternC()))); in TEST()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp3074 if (FD->isExternC() && !FD->isMain()) { in getFunctionSourceLocation()
3102 if (FD->isExternC() && !FD->isMain()) { in RewriteLineDirective()