Searched refs:isExternC (Results 1 – 16 of 16) sorted by relevance
59 static bool isExternC(const NamedDecl *ND) { in isExternC() function61 return FD->isExternC(); in isExternC()62 return cast<VarDecl>(ND)->isExternC(); in isExternC()74 if (Context.getLangOpts().CPlusPlus && !isExternC(ND) && in getCallingConvMangling()
75 if (VD->isExternC()) in getEffectiveDeclContext()79 if (FD->isExternC()) in getEffectiveDeclContext()598 if (VD->isExternC()) in shouldMangleCXXName()
1896 bool VarDecl::isExternC() const { in isExternC() function in VarDecl2623 bool FunctionDecl::isExternC() const { in isExternC() function in FunctionDecl3412 if (isExternC()) { in getMemoryFunctionKind()
399 if (VD->isExternC()) in shouldMangleCXXName()462 if (FD->isExternC() && FD->hasAttr<OverloadableAttr>()) in mangleFunctionEncoding()
839 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()
302 REGISTER_MATCHER(isExternC); in RegistryMaps()
597 if ((D->getName().find("stdin") != StringRef::npos) && D->isExternC()) in isStdin()
221 if ((!Ctx.getLangOpts().CPlusPlus || D->isExternC()) && in VisitFunctionDecl()
3300 AST_MATCHER(FunctionDecl, isExternC) { in AST_MATCHER() argument3301 return Node.isExternC(); in AST_MATCHER()
2671 template<typename T> static bool isExternC(T *D) { return D->isExternC(); } in isExternC() function2672 static bool isExternC(VarTemplateDecl *) { return false; } in isExternC() function2701 !(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 …]
266 Old->isExternC()) { in CheckEquivalentExceptionSpec()
6094 if (VD->isExternC()) in ProcessPragmaWeak()6097 if (FD->isExternC()) in ProcessPragmaWeak()
11966 if (FnDecl->isExternC()) { in CheckLiteralOperatorDeclaration()
4878 FDecl->isExternC()) { in GatherArgumentsForCall()
1011 bool isExternC() const;1958 bool isExternC() const;
3043 if (FD->isExternC() && !FD->isMain()) { in getFunctionSourceLocation()3071 if (FD->isExternC() && !FD->isMain()) { in RewriteLineDirective()