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/MissingEndComparisonCheck.cpp
clang-tools-extra/clang-tidy/bugprone/MissingEndComparisonCheck.h
clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.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/bugprone/MissingEndComparisonCheck.cpp:48:1:
warning: place static function 'getRangesEndText' outside of an anonymous
namespace [llvm-prefer-static-over-anonymous-namespace]
48 | getRangesEndText(const MatchFinder::MatchResult &Result, const CallExpr
*Call) {
| ^
clang-tools-extra/clang-tidy/bugprone/MissingEndComparisonCheck.cpp:81:1:
warning: place static function 'getStandardEndText' outside of an anonymous
namespace [llvm-prefer-static-over-anonymous-namespace]
81 | getStandardEndText(const MatchFinder::MatchResult &Result,
| ^
clang-tools-extra/clang-tidy/bugprone/MissingEndComparisonCheck.cpp:106:29:
warning: place static function 'getLNotAncestor' outside of an anonymous
namespace [llvm-prefer-static-over-anonymous-namespace]
106 | static const UnaryOperator *getLNotAncestor(const Expr *E,
| ^
```
</details>
https://github.com/llvm/llvm-project/pull/182543
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits