/external/llvm-project/clang-tools-extra/clang-tidy/android/ |
D | CloexecOpenCheck.cpp | 22 functionDecl(isExternC(), returns(isInteger()), in registerMatchers() 27 functionDecl(isExternC(), returns(isInteger()), in registerMatchers()
|
D | CloexecSocketCheck.cpp | 21 functionDecl(isExternC(), returns(isInteger()), in registerMatchers()
|
D | CloexecFopenCheck.cpp | 24 functionDecl(isExternC(), returns(asString("FILE *")), in registerMatchers()
|
D | CloexecCreatCheck.cpp | 23 functionDecl(isExternC(), returns(isInteger()), in registerMatchers()
|
D | CloexecCheck.cpp | 48 callee(functionDecl(isExternC(), Function).bind(FuncDeclBindingStr))) in registerMatchersImpl()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | AvoidCArraysCheck.cpp | 49 hasParent(varDecl(isExternC())), in registerMatchers() 52 hasAncestor(functionDecl(isExternC()))))) in registerMatchers()
|
D | RedundantVoidArgCheck.cpp | 48 unless(isInstantiated()), unless(isExternC())) in registerMatchers()
|
/external/clang/lib/AST/ |
D | Mangle.cpp | 59 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()
|
D | Decl.cpp | 1896 bool VarDecl::isExternC() const { in isExternC() function in VarDecl 2623 bool FunctionDecl::isExternC() const { in isExternC() function in FunctionDecl 3412 if (isExternC()) { in getMemoryFunctionKind()
|
D | ItaniumMangle.cpp | 75 if (VD->isExternC()) in getEffectiveDeclContext() 79 if (FD->isExternC()) in getEffectiveDeclContext() 598 if (VD->isExternC()) in shouldMangleCXXName()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | VariadicFunctionDefCheck.cpp | 23 functionDecl(isDefinition(), isVariadic(), unless(isExternC())) in registerMatchers()
|
/external/llvm-project/clang/lib/AST/ |
D | Mangle.cpp | 58 static bool isExternC(const NamedDecl *ND) { in isExternC() function 60 return FD->isExternC(); in isExternC() 62 return VD->isExternC(); in isExternC() 83 if (Context.getLangOpts().CPlusPlus && !isExternC(ND) && in getCallingConvMangling()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 1261 EXPECT_TRUE(matches("extern \"C\" void f() {}", functionDecl(isExternC()))); in TEST_P() 1263 matches("extern \"C\" { void f() {} }", functionDecl(isExternC()))); in TEST_P() 1264 EXPECT_TRUE(notMatches("void f() {}", functionDecl(isExternC()))); in TEST_P() 1272 EXPECT_TRUE(matches("extern \"C\" int i;", varDecl(isExternC()))); in TEST_P() 1273 EXPECT_TRUE(matches("extern \"C\" { int i; }", varDecl(isExternC()))); in TEST_P() 1274 EXPECT_TRUE(notMatches("int i;", varDecl(isExternC()))); in TEST_P()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 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()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 302 REGISTER_MATCHER(isExternC); in RegistryMaps()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | GenericTaintChecker.cpp | 597 if ((D->getName().find("stdin") != StringRef::npos) && D->isExternC()) in isStdin()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 221 if ((!Ctx.getLangOpts().CPlusPlus || D->isExternC()) && in VisitFunctionDecl()
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 393 REGISTER_MATCHER(isExternC); in RegistryMaps()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | GenericTaintChecker.cpp | 780 if ((D->getName().find("stdin") != StringRef::npos) && D->isExternC()) { in isStdin()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 3300 AST_MATCHER(FunctionDecl, isExternC) { in AST_MATCHER() argument 3301 return Node.isExternC(); in AST_MATCHER()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 2671 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 …]
|
D | SemaExceptionSpec.cpp | 266 Old->isExternC()) { in CheckEquivalentExceptionSpec()
|
/external/llvm-project/clang/lib/Index/ |
D | USRGeneration.cpp | 245 if ((!Ctx.getLangOpts().CPlusPlus || D->isExternC()) && in VisitFunctionDecl()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDecl.cpp | 3101 template<typename T> static bool isExternC(T *D) { return D->isExternC(); } in isExternC() function 3102 static bool isExternC(VarTemplateDecl *) { return false; } in isExternC() function 3131 !(isExternC(Old) && isExternC(New))) in checkUsingShadowRedecl() 6643 return D->isExternC(); in isIncompleteDeclExternC() 6714 return FD->isExternC(); in isDeclExternC() 6716 return VD->isExternC(); in isDeclExternC() 7581 if (shadowedVar->isExternC()) { in CheckShadow() 9795 !(II && II->isStr("printf") && NewFD->isExternC() && in ActOnFunctionDeclarator() 10236 if (!CLinkageMayDiffer && OldFD->isExternC() != NewFD->isExternC()) in areMultiversionVariantFunctionsCompatible() 10941 if (Previous.empty() && NewFD->isExternC()) { in CheckFunctionDeclaration() [all …]
|
D | Sema.cpp | 685 return FD->isExternC(); in isFunctionOrVarDeclExternC() 686 return cast<VarDecl>(ND)->isExternC(); in isFunctionOrVarDeclExternC()
|