[clang-tools-extra] [clang-tidy][NFC] fix 'misc-use-internal-linkage' check warnings (PR #143482)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 10 08:31:16 PDT 2025
================
@@ -1904,13 +1908,16 @@ AST_MATCHER(FunctionDecl, isOverloadedUnaryOrBinaryOperator) {
}
}
+} // namespace
+
/// Returns the DefaultMinimumLength if the Value of requested minimum length
/// is less than 2. Minimum lengths of 0 or 1 are not accepted.
static inline unsigned clampMinimumLength(const unsigned Value) {
return Value < 2 ? DefaultMinimumLength : Value;
}
-// FIXME: Maybe unneeded, getNameForDiagnostic() is expected to change to return
+// FIXME: Maybe unneeded, getNameForDiagnostic() is expected to change to
+// return
----------------
vbvictor wrote:
Thanks for the catch
https://github.com/llvm/llvm-project/pull/143482
More information about the cfe-commits
mailing list