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.cpp1866 bool VarDecl::isExternC() const { in isExternC() function in VarDecl
2518 bool FunctionDecl::isExternC() const { in isExternC() function in FunctionDecl
3273 if (isExternC()) { in getMemoryFunctionKind()
DItaniumMangle.cpp73 if (VD->isExternC()) in getEffectiveDeclContext()
77 if (FD->isExternC()) in getEffectiveDeclContext()
442 if (VD->isExternC()) in shouldMangleCXXName()
DMicrosoftMangle.cpp350 if (VD->isExternC()) in shouldMangleCXXName()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp248 REGISTER_MATCHER(isExternC); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2681 AST_MATCHER(FunctionDecl, isExternC) { in AST_MATCHER() argument
2682 return Node.isExternC(); in AST_MATCHER()
/external/clang/lib/StaticAnalyzer/Checkers/
DGenericTaintChecker.cpp597 if ((D->getName().find("stdin") != StringRef::npos) && D->isExternC()) in isStdin()
/external/clang/lib/Index/
DUSRGeneration.cpp211 if (!Ctx.getLangOpts().CPlusPlus || D->isExternC()) in VisitFunctionDecl()
/external/clang/lib/Sema/
DSemaExceptionSpec.cpp254 Old->isExternC()) { in CheckEquivalentExceptionSpec()
DSemaDecl.cpp2576 !(Old->isExternC() && New->isExternC())) in MergeFunctionDecl()
5392 return D->isExternC(); in isIncompleteDeclExternC()
6031 if (shadowedVar->isExternC()) { in CheckShadow()
8158 if (Previous.empty() && NewFD->isExternC()) { in CheckFunctionDeclaration()
9147 VDecl->isExternC())) && in AddInitializerToDecl()
DSemaDeclAttr.cpp5062 if (VD->isExternC()) in ProcessPragmaWeak()
5065 if (FD->isExternC()) in ProcessPragmaWeak()
DSemaDeclCXX.cpp11704 if (FnDecl->isExternC()) { in CheckLiteralOperatorDeclaration()
DSemaExpr.cpp4467 FDecl->isExternC()) { in GatherArgumentsForCall()
/external/clang/include/clang/AST/
DDecl.h925 bool isExternC() const;
1869 bool isExternC() const;
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp1579 EXPECT_TRUE(matches("extern \"C\" void f() {}", functionDecl(isExternC()))); in TEST()
1581 functionDecl(isExternC()))); in TEST()
1582 EXPECT_TRUE(notMatches("void f() {}", functionDecl(isExternC()))); in TEST()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp3082 if (FD->isExternC() && !FD->isMain()) { in getFunctionSourceLocation()
3110 if (FD->isExternC() && !FD->isMain()) { in RewriteLineDirective()