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/bugprone/ArgumentCommentCheck.cpp
clang-tools-extra/clang-tidy/modernize/MacroToEnumCheck.cpp
clang-tools-extra/clang-tidy/modernize/RedundantVoidArgCheck.cpp
clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp
clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
clang-tools-extra/clang-tidy/utils/LexerUtils.h |
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/modernize/../utils/LexerUtils.h:15:10: error:
'clang/basic/SourceManager.h' file not found [clang-diagnostic-error]
15 | #include "clang/basic/SourceManager.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clang-tools-extra/clang-tidy/bugprone/../utils/LexerUtils.h:15:10: error:
'clang/basic/SourceManager.h' file not found [clang-diagnostic-error]
15 | #include "clang/basic/SourceManager.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clang-tools-extra/clang-tidy/modernize/../utils/LexerUtils.h:15:10: error:
'clang/basic/SourceManager.h' file not found [clang-diagnostic-error]
15 | #include "clang/basic/SourceManager.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clang-tools-extra/clang-tidy/modernize/../utils/LexerUtils.h:15:10: error:
'clang/basic/SourceManager.h' file not found [clang-diagnostic-error]
15 | #include "clang/basic/SourceManager.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clang-tools-extra/clang-tidy/utils/LexerUtils.h:15:10: error:
'clang/basic/SourceManager.h' file not found [clang-diagnostic-error]
15 | #include "clang/basic/SourceManager.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clang-tools-extra/clang-tidy/modernize/../utils/LexerUtils.h:15:10: error:
'clang/basic/SourceManager.h' file not found [clang-diagnostic-error]
15 | #include "clang/basic/SourceManager.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clang-tools-extra/clang-tidy/readability/../utils/LexerUtils.h:15:10: error:
'clang/basic/SourceManager.h' file not found [clang-diagnostic-error]
15 | #include "clang/basic/SourceManager.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
</details>
https://github.com/llvm/llvm-project/pull/172508
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits