|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/ASTMatchers/ASTMatchers.h 4014 unsigned ArgIndex = cxxOperatorCallExpr(callee(cxxMethodDecl()))
4027 callExpr(callee(functionDecl(
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp 106 REGISTER_OVERLOADED_2(callee);
tools/clang/lib/Analysis/ExprMutationAnalyzer.cpp 220 expr(anyOf(cxxMemberCallExpr(callee(NonConstMethod),
222 cxxOperatorCallExpr(callee(NonConstMethod),
249 callee(cxxMethodDecl(ofClass(isMoveOnly()),
330 match(findAll(callExpr(callee(namedDecl(
357 callee(cxxMethodDecl(ofClass(isMoveOnly()),
392 unless(callee(namedDecl(hasAnyName(
tools/clang/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp 56 -> decltype(callee(functionDecl())) {
57 return callee(functionDecl(hasName(FunctionName)));
tools/clang/lib/StaticAnalyzer/Checkers/OSObjectCStyleCast.cpp 68 auto DynamicCastM = callExpr(callee(functionDecl(hasName("safeMetaCast"))));
tools/clang/lib/StaticAnalyzer/Checkers/ObjCAutoreleaseWriteChecker.cpp 104 -> decltype(callee(functionDecl())) {
105 return callee(functionDecl(hasAnyName(toRefs(FunctionNames))));
tools/clang/lib/StaticAnalyzer/Checkers/PointerSortingChecker.cpp 57 auto callsName(const char *FunctionName) -> decltype(callee(functionDecl())) {
58 return callee(functionDecl(hasName(FunctionName)));
tools/clang/lib/StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp 143 callExpr(callee(functionDecl(hasName("xpc_main")))).bind(RunLoopRunBind);
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp 543 auto AssertLikeM = callExpr(callee(functionDecl(
553 auto NoReturnFuncM = callExpr(callee(functionDecl(isNoReturn())));
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 509 anyOf(callExpr(callee(FuncMatcher)).bind("call"),
tools/clang/tools/extra/clang-tidy/abseil/DurationAdditionCheck.cpp 25 callExpr(callee(functionDecl(TimeConversionFunction())
tools/clang/tools/extra/clang-tidy/abseil/DurationConversionCastCheck.cpp 23 callee(functionDecl(DurationConversionFunction()).bind("func_decl")),
tools/clang/tools/extra/clang-tidy/abseil/DurationFactoryFloatCheck.cpp 32 callExpr(callee(functionDecl(DurationFactoryFunction())),
tools/clang/tools/extra/clang-tidy/abseil/DurationFactoryScaleCheck.cpp 121 callee(functionDecl(DurationFactoryFunction()).bind("call_decl")),
tools/clang/tools/extra/clang-tidy/abseil/DurationRewriter.cpp 77 match(callExpr(callee(functionDecl(hasAnyName(
94 "e", match(callExpr(callee(functionDecl(hasName(InverseFunction))),
tools/clang/tools/extra/clang-tidy/abseil/DurationRewriter.h 134 hasEitherOperand(ignoringImpCasts(callExpr(callee(funcDecl)))));
tools/clang/tools/extra/clang-tidy/abseil/DurationSubtractionCheck.cpp 25 hasLHS(callExpr(callee(functionDecl(DurationConversionFunction())
tools/clang/tools/extra/clang-tidy/abseil/DurationUnnecessaryConversionCheck.cpp 34 callExpr(callee(functionDecl(hasName(DurationFactory))),
40 callee(functionDecl(hasAnyName(FloatConversion, IntegerConversion))),
52 callee(functionDecl(hasName("::absl::FDivDuration"))),
56 callExpr(callee(functionDecl(hasName(DurationFactory))),
tools/clang/tools/extra/clang-tidy/abseil/FasterStrsplitDelimiterCheck.cpp 84 Finder->addMatcher(callExpr(callee(functionDecl(hasName("::absl::StrSplit"))),
95 callee(functionDecl(hasName("::absl::MaxSplits"))),
tools/clang/tools/extra/clang-tidy/abseil/RedundantStrcatCallsCheck.cpp 31 callExpr(callee(functionDecl(hasName("::absl::StrCat"))));
33 callExpr(callee(functionDecl(hasName("::absl::StrAppend"))));
37 callee(functionDecl(hasAnyName("::absl::StrCat", "::absl::StrAppend"))));
68 has(callExpr(callee(functionDecl(*Strcat))).bind("StrCat")));
tools/clang/tools/extra/clang-tidy/abseil/StrCatAppendCheck.cpp 67 callExpr(callee(StrCat), hasArgument(0, AlphaNum),
tools/clang/tools/extra/clang-tidy/abseil/StringFindStartswithCheck.cpp 43 callee(cxxMethodDecl(hasName("find"))),
tools/clang/tools/extra/clang-tidy/abseil/TimeSubtractionCheck.cpp 101 auto TimeInverseMatcher = callExpr(callee(
112 callee(functionDecl(hasName(getDurationFactoryForScale(*Scale)))),
163 callExpr(callee(functionDecl(hasName(
tools/clang/tools/extra/clang-tidy/abseil/UpgradeDurationConversionsCheck.cpp 40 callee(functionDecl(
51 callee(cxxMethodDecl(
64 callExpr(callee(functionDecl(
78 callExpr(callee(functionDecl(
109 callee(functionDecl(DurationFactoryFunction(),
tools/clang/tools/extra/clang-tidy/android/CloexecCheck.cpp 48 callee(functionDecl(isExternC(), Function).bind(FuncDeclBindingStr)))
tools/clang/tools/extra/clang-tidy/bugprone/DanglingHandleCheck.cpp 76 callee(functionDecl(hasAnyName("assign", "push_back", "resize"))),
80 cxxMemberCallExpr(callee(functionDecl(hasName("insert"))),
85 cxxOperatorCallExpr(callee(cxxMethodDecl(ofClass(isAMap()))),
130 cxxOperatorCallExpr(callee(cxxMethodDecl(ofClass(IsAHandle))),
tools/clang/tools/extra/clang-tidy/bugprone/FoldInitTypeCheck.cpp 42 callExpr(callee(functionDecl(
50 callExpr(callee(functionDecl(hasName("::std::inner_product"),
59 callExpr(callee(functionDecl(hasName("::std::reduce"),
67 callExpr(callee(functionDecl(hasName("::std::inner_product"),
tools/clang/tools/extra/clang-tidy/bugprone/InaccurateEraseCheck.cpp 28 callee(functionDecl(hasAnyName("remove", "remove_if", "unique"))),
32 cxxMemberCallExpr(callee(cxxMethodDecl(hasName("end"))))
42 callee(cxxMethodDecl(hasName("erase"))), argumentCountIs(1),
tools/clang/tools/extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp 24 callExpr(Internal, callee(functionDecl(isNoReturn())))));
tools/clang/tools/extra/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.cpp 29 callExpr(callee(StrLenFunc),
60 Finder->addMatcher(callExpr(callee(decl(anyOf(Alloc0Func, Alloc0FuncPtr))),
64 Finder->addMatcher(callExpr(callee(decl(anyOf(Alloc1Func, Alloc1FuncPtr))),
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp 579 callExpr(callee(functionDecl(hasAnyName("::strlen", "::wcslen"))))
603 auto CallExprReturnWithoutInc = ignoringImpCasts(callExpr(callee(functionDecl(
623 callee(functionDecl(
727 return allOf(callee(functionDecl(
tools/clang/tools/extra/clang-tidy/bugprone/ParentVirtualCallCheck.cpp 93 callee(cxxMethodDecl(isVirtual()))),
tools/clang/tools/extra/clang-tidy/bugprone/PosixReturnCheck.cpp 34 hasLHS(callExpr(callee(functionDecl(
43 hasLHS(callExpr(callee(functionDecl(
53 hasLHS(callExpr(callee(functionDecl(
tools/clang/tools/extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp 27 callee(cxxMethodDecl(ofClass(classTemplateSpecializationDecl(
36 unless(callExpr(callee(functionDecl(
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.cpp 27 callee(functionDecl(hasName("::memset"))),
39 Finder->addMatcher(callExpr(callee(functionDecl(hasName("::memset"))),
46 callExpr(callee(functionDecl(hasName("::memset"))),
tools/clang/tools/extra/clang-tidy/bugprone/UndefinedMemoryManipulationCheck.cpp 33 Finder->addMatcher(callExpr(callee(functionDecl(hasAnyName(
42 callExpr(callee(functionDecl(hasAnyName("::memcpy", "::memmove"))),
tools/clang/tools/extra/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.cpp 73 cxxMethodDecl(unless(hasDescendant(cxxMemberCallExpr(callee(cxxMethodDecl(
tools/clang/tools/extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp 55 callExpr(callee(functionDecl(
tools/clang/tools/extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp 306 callee(cxxMethodDecl(hasAnyName("clear", "assign")))),
310 callee(cxxMethodDecl(hasName("reset")))),
314 callee(cxxMethodDecl(hasAttr(clang::attr::Reinitializes)))),
326 unless(callee(functionDecl(hasName("::std::move")))))))
381 callExpr(callee(functionDecl(hasName("::std::move"))), argumentCountIs(1),
tools/clang/tools/extra/clang-tidy/cert/CommandProcessorCheck.cpp 22 callee(functionDecl(anyOf(hasName("::system"), hasName("::popen"),
28 unless(callExpr(callee(functionDecl(hasName("::system"))),
tools/clang/tools/extra/clang-tidy/cert/LimitedRandomnessCheck.cpp 20 Finder->addMatcher(callExpr(callee(functionDecl(namedDecl(hasName("::rand")),
tools/clang/tools/extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp 73 callExpr(callee(functionDecl(hasAnyName("::srand", "::std::srand"))))
tools/clang/tools/extra/clang-tidy/cert/SetLongJmpCheck.cpp 67 callExpr(callee(functionDecl(hasAnyName("setjmp", "longjmp"))))
tools/clang/tools/extra/clang-tidy/cert/StrToNumCheck.cpp 27 callee(functionDecl(anyOf(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp 35 const auto IsCeilFloorCallExpr = expr(callExpr(callee(functionDecl(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/NoMallocCheck.cpp 45 Finder->addMatcher(callExpr(callee(functionDecl(hasAnyListedName(AllocList))))
51 callExpr(callee(functionDecl(hasAnyListedName(ReallocList))))
57 callExpr(callee(functionDecl(hasAnyListedName(DeallocList))))
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp 55 callExpr(callee(functionDecl(LegacyCreatorFunctions)));
67 callExpr(callee(
89 callExpr(callee(LegacyOwnerConsumers),
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp 28 callExpr(callee(functionDecl(isVariadic()))).bind("callvararg"), this);
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/SlicingCheck.cpp 50 callExpr(callee(cxxMethodDecl(anyOf(isCopyAssignmentOperator(),
tools/clang/tools/extra/clang-tidy/darwin/AvoidSpinlockCheck.cpp 21 callExpr(callee((functionDecl(hasAnyName(
tools/clang/tools/extra/clang-tidy/google/IntegerTypesCheck.cpp 68 callee(functionDecl(hasAttr(attr::Format)))))))
tools/clang/tools/extra/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp 177 Finder->addMatcher(expr(anyOf(callExpr(callee(Methods)).bind("call"),
tools/clang/tools/extra/clang-tidy/linuxkernel/MustCheckErrsCheck.cpp 25 callExpr(callee(ErrFn), hasParent(NonCheckingStmts)).bind("call"),
28 auto ReturnToCheck = returnStmt(hasReturnValue(callExpr(callee(ErrFn))));
30 Finder->addMatcher(callExpr(callee(ReturnsErrFn), hasParent(NonCheckingStmts))
tools/clang/tools/extra/clang-tidy/llvm/PreferIsaOrDynCastInConditionalsCheck.cpp 32 anyOf(callee(namedDecl(hasName("cast"))),
33 callee(namedDecl(hasName("dyn_cast")).bind("dyn_cast")))))
41 callee(namedDecl(hasName("cast")))))
48 allOf(callee(namedDecl(anyOf(hasName("isa"), hasName("cast"),
tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp 28 callee(
35 callee(cxxMethodDecl(
tools/clang/tools/extra/clang-tidy/modernize/AvoidBindCheck.cpp 125 callee(namedDecl(hasName("::std::bind"))),
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp 131 callee(cxxMethodDecl(anyOf(hasName("begin"), hasName("cbegin")))))
146 callee(cxxMethodDecl(anyOf(hasName("end"), hasName("cend")))));
264 callee(cxxMethodDecl(anyOf(hasName("size"), hasName("length")))),
tools/clang/tools/extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp 103 callee(cxxMethodDecl(hasName("reset"))),
tools/clang/tools/extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp 127 callee(cxxMethodDecl(ofClass(AutoPtrDecl))),
tools/clang/tools/extra/clang-tidy/modernize/ShrinkToFitCheck.cpp 47 callee(cxxMethodDecl(hasName("swap"))),
tools/clang/tools/extra/clang-tidy/modernize/UseAutoCheck.cpp 294 callee(functionDecl(TemplateArg,
tools/clang/tools/extra/clang-tidy/modernize/UseEqualsDefaultCheck.cpp 156 callee(cxxMethodDecl(isCopyAssignmentOperator())),
tools/clang/tools/extra/clang-tidy/performance/FasterStringFindCheck.cpp 73 callee(functionDecl(StringFindFunctions).bind("func")),
tools/clang/tools/extra/clang-tidy/performance/InefficientAlgorithmCheck.cpp 45 callee(functionDecl(Algorithms)),
48 callee(cxxMethodDecl(hasName("begin"))),
57 callee(cxxMethodDecl(hasName("end"))),
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp 102 callee(AppendMethodDecl), on(hasType(TargetRecordDecl)),
tools/clang/tools/extra/clang-tidy/performance/MoveConstArgCheck.cpp 47 callExpr(callee(functionDecl(hasName("::std::move"))), argumentCountIs(1),
tools/clang/tools/extra/clang-tidy/performance/TypePromotionInMathFnCheck.cpp 73 callExpr(callee(functionDecl(OneDoubleArgFns, parameterCountIs(1),
84 callExpr(callee(functionDecl(TwoDoubleArgFns, parameterCountIs(2),
93 callExpr(callee(functionDecl(hasName("::fma"), parameterCountIs(3),
104 callExpr(callee(functionDecl(
116 callExpr(callee(functionDecl(hasName("::nexttoward"), parameterCountIs(2),
127 callee(functionDecl(
138 callExpr(callee(functionDecl(hasName("::scalbln"), parameterCountIs(2),
147 callExpr(callee(functionDecl(hasName("::scalbn"), parameterCountIs(2),
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp 49 cxxMemberCallExpr(callee(cxxMethodDecl(returns(ConstReference))),
52 callExpr(callee(functionDecl(returns(ConstReference))),
53 unless(callee(cxxMethodDecl())));
tools/clang/tools/extra/clang-tidy/portability/SIMDIntrinsicsCheck.cpp 102 Finder->addMatcher(callExpr(callee(functionDecl(
tools/clang/tools/extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp 64 callee(cxxMethodDecl(hasName("size"))), WrongUse,
tools/clang/tools/extra/clang-tidy/readability/RedundantSmartptrGetCheck.cpp 27 callee(cxxMethodDecl(
tools/clang/tools/extra/clang-tidy/readability/RedundantStringCStrCheck.cpp 94 callee(cxxMethodDecl(hasAnyName("c_str", "data"))))
126 cxxMemberCallExpr(on(StringExpr), callee(decl(cxxMethodDecl(hasAnyName(
134 callee(decl(cxxMethodDecl(hasName("compare")))),
141 callee(decl(cxxMethodDecl(hasAnyName(
151 callee(decl(cxxMethodDecl(hasName("insert")))),
tools/clang/tools/extra/clang-tidy/readability/SimplifySubscriptExprCheck.cpp 45 callee(namedDecl(hasName("data"))))
tools/clang/tools/extra/clang-tidy/readability/StringCompareCheck.cpp 30 callee(cxxMethodDecl(hasName("compare"),
tools/clang/tools/extra/clang-tidy/readability/UniqueptrDeleteReleaseCheck.cpp 34 callee(cxxMethodDecl(hasName("release")))))))
tools/clang/tools/extra/clang-tidy/utils/DeclRefExprUtils.cpp 49 auto ConstMethodCallee = callee(cxxMethodDecl(isConst()));
80 auto ConstMethodCallee = callee(cxxMethodDecl(isConst()));
162 callee(cxxMethodDecl(isCopyAssignmentOperator())))
tools/clang/tools/extra/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp 178 tooling::makeRule(callExpr(callee(functionDecl(hasName("f")))),
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp 28 callExpr(allOf(callee(functionDecl(hasName("f"))),
31 callExpr(allOf(callee(functionDecl(hasName("f"))),
36 callExpr(allOf(callee(functionDecl(hasName("f"))),
42 callExpr(allOf(callee(functionDecl(hasName("f"))),
704 callExpr(callee(cxxMethodDecl(hasName("x")))).bind("x");
2363 callee(cxxMethodDecl(hasName("data"))),
2367 callee(cxxMethodDecl(anyOf(hasName("size"), hasName("length")))),
2379 callee(cxxMethodDecl(hasName("data"))),
2383 callee(cxxMethodDecl(anyOf(hasName("size"), hasName("length")))),
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp 497 StatementMatcher CallFunctionF = callExpr(callee(functionDecl(hasName("f"))));
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp 371 StatementMatcher CallMethodX = callExpr(callee(cxxMethodDecl(hasName("x"))));
376 CallMethodX = callExpr(callee(cxxConversionDecl()));
1319 callExpr(callee(cxxMethodDecl(hasName("x"))))));
1331 callee(cxxMethodDecl(hasName("x"))))))));
tools/clang/unittests/Tooling/RangeSelectorTest.cpp 399 matchCode(Code, callExpr(callee(functionDecl(hasName("bar")))).bind(ID));
tools/clang/unittests/Tooling/TransformerTest.cpp 145 callExpr(callee(functionDecl(hasName("strlen"))),
149 callee(cxxMethodDecl(hasName("c_str")))))),
173 unless(callee(cxxMethodDecl(hasName("GetProto"))))),
191 RewriteRule Rule = makeRule(callExpr(callee(functionDecl(hasName("f")))),
209 RewriteRule Rule = makeRule(callExpr(callee(functionDecl(hasName("f")))),
466 unless(callee(cxxMethodDecl(hasName("GetProto"))))),
500 makeRule(callExpr(callee(functionDecl(hasName("f1")))),
503 makeRule(callExpr(callee(functionDecl(hasAnyName("f1", "f2")))),
525 makeRule(callExpr(callee(functionDecl(hasName("f1")))),
528 makeRule(callExpr(callee(functionDecl(hasAnyName("f1", "f2")))),
553 makeRule(callExpr(callee(functionDecl(hasName("f1")))),
556 makeRule(callExpr(callee(functionDecl(hasAnyName("f1", "f2")))),