[clang-tools-extra] [clang-tidy] Add AllowFalseEvaluated flag to clang-tidy noexcept-move-constructor check (PR #126897)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 6 01:23:01 PDT 2025


================
@@ -22,7 +22,8 @@ namespace clang::tidy::performance {
 class NoexceptFunctionBaseCheck : public ClangTidyCheck {
 public:
   NoexceptFunctionBaseCheck(StringRef Name, ClangTidyContext *Context)
-      : ClangTidyCheck(Name, Context) {}
+      : ClangTidyCheck(Name, Context),
----------------
vbvictor wrote:

Please place definition in .cpp file.
We usually define only `isLanguageVersionSupported` and `getCheckTraversalKind` in headers

https://github.com/llvm/llvm-project/pull/126897


More information about the cfe-commits mailing list