diff options
author | Baranov Victor <bar.victor.2002@gmail.com> | 2025-06-10 23:23:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-10 23:23:37 +0300 |
commit | 94877ce1b4c514e839b49907efff95c0cf942656 (patch) | |
tree | bd8f33b0906572b50d695e6c9fd253bb89e12926 /clang-tools-extra/clang-tidy/modernize/UseConstraintsCheck.cpp | |
parent | 719e7bea8af3335f8d7c46205ce8357baf4fa11d (diff) | |
download | llvm-94877ce1b4c514e839b49907efff95c0cf942656.zip llvm-94877ce1b4c514e839b49907efff95c0cf942656.tar.gz llvm-94877ce1b4c514e839b49907efff95c0cf942656.tar.bz2 |
[clang-tidy][NFC] fix 'misc-use-internal-linkage' check warnings (#143482)
Run misc-use-internal-linkage check over clang-tidy code.
Also fixed a couple of other clang-tidy warnings.
Apart from issues in header files, all '.cpp' in
`clang-tools-extra/clang-tidy` must be clang-tidy clear now.
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/UseConstraintsCheck.cpp')
-rw-r--r-- | clang-tools-extra/clang-tidy/modernize/UseConstraintsCheck.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/modernize/UseConstraintsCheck.cpp b/clang-tools-extra/clang-tidy/modernize/UseConstraintsCheck.cpp index 6040cdd..9e4d184 100644 --- a/clang-tools-extra/clang-tidy/modernize/UseConstraintsCheck.cpp +++ b/clang-tools-extra/clang-tidy/modernize/UseConstraintsCheck.cpp @@ -279,7 +279,7 @@ findInsertionForConstraint(const FunctionDecl *Function, ASTContext &Context) { return Body->getBeginLoc(); } -bool isPrimaryExpression(const Expr *Expression) { +static bool isPrimaryExpression(const Expr *Expression) { // This function is an incomplete approximation of checking whether // an Expr is a primary expression. In particular, if this function // returns true, the expression is a primary expression. The converse |