[PATCH] D119218: [clang-format] Honour "// clang-format off" when using QualifierOrder.

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 8 03:31:40 PST 2022


curdeius marked an inline comment as done.
curdeius added inline comments.


================
Comment at: clang/unittests/Format/QualifierFixerTest.cpp:875
+               "// clang-format on\n"
+               "inline static const int a = 0;\n",
+               "// clang-format off\n"
----------------
It's sorted here.


================
Comment at: clang/unittests/Format/QualifierFixerTest.cpp:879
+               "// clang-format on\n"
+               "int const inline static a = 0;\n",
+               Style);
----------------
HazardyKnusperkeks wrote:
> Shouldn't this be sorted?
This is input code, not the expected result.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119218



More information about the cfe-commits mailing list