[PATCH] D54943: [clang-tidy] implement const-transformation for cppcoreguidelines-const-correctness

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 27 15:07:52 PST 2022


njames93 added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/cppcoreguidelines/ConstCorrectnessCheck.h:29
+      : ClangTidyCheck(Name, Context),
+        AnalyzeValues(Options.get("AnalyzeValues", 1)),
+        AnalyzeReferences(Options.get("AnalyzeReferences", 1)),
----------------
Can all these options be defaulted to Boolean values, as the options parser has special parsing logic for bool


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54943/new/

https://reviews.llvm.org/D54943



More information about the cfe-commits mailing list