github-actions[bot] wrote:

<!--LLVM CODE LINT COMMENT: clang-tidy-->


:warning: C/C++ code linter, clang-tidy found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

```bash

git diff -U0 origin/main...HEAD -- 
clang-tools-extra/clang-tidy/misc/UseBulkInsertCheck.cpp 
clang-tools-extra/clang-tidy/misc/UseBulkInsertCheck.h 
clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp |
python3 clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py   -path build -p1 
-quiet
```

</details>

<details>
<summary>
View the output from clang-tidy here.
</summary>

```
clang-tools-extra/clang-tidy/misc/UseBulkInsertCheck.cpp:25:26: error: no 
matching function for call to object of type 'const 
internal::VariadicDynCastAllOfMatcher<Stmt, MemberExpr>' 
[clang-diagnostic-error]
   25 |                   callee(memberExpr(
      |                          ^~~~~~~~~~
clang/include/clang/ASTMatchers/ASTMatchersInternal.h:127:11: note: candidate 
function template not viable: no known conversion from 'Matcher<CXXMethodDecl>' 
to 'const Matcher<clang::MemberExpr>' for 1st argument
  127 |   ResultT operator()(const ArgT &Arg1, const ArgsT &... Args) const {
      |           ^          ~~~~~~~~~~~~~~~~
clang/include/clang/ASTMatchers/ASTMatchersInternal.h:133:11: note: candidate 
function not viable: no known conversion from 
'::clang::ast_matchers::internal::Matcher<CXXMethodDecl>' to 
'ArrayRef<clang::ast_matchers::internal::Matcher<clang::MemberExpr>>' for 1st 
argument
  133 |   ResultT operator()(ArrayRef<ArgT> Args) const {
      |           ^          ~~~~~~~~~~~~~~~~~~~
clang/include/clang/ASTMatchers/ASTMatchersInternal.h:124:11: note: candidate 
function not viable: requires 0 arguments, but 1 was provided
  124 |   ResultT operator()() const { return Func({}); }
      |           ^
```

</details>


https://github.com/llvm/llvm-project/pull/226742
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to