[PATCH] D149643: [clang-format] Correctly limit formatted ranges when specifying qualifier alignment

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 3 22:04:54 PDT 2023


owenpan added a comment.

Please mark review comments as done after addressing them.



================
Comment at: clang/unittests/Format/QualifierFixerTest.cpp:1356
+               "template <typename T> Foo const f();",
+               Style, std::vector<tooling::Range>(1, tooling::Range(0, 36)));
+
----------------



================
Comment at: clang/unittests/Format/QualifierFixerTest.cpp:1366
+               "template <typename T> Foo const f();",
+               Style, std::vector<tooling::Range>(1, tooling::Range(37, 36)));
+}
----------------



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

https://reviews.llvm.org/D149643



More information about the cfe-commits mailing list