[PATCH] D120710: [clang-format] QualifierOrder does not reorder template arguments

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 2 08:54:35 PST 2022


curdeius added inline comments.
Herald added a project: All.


================
Comment at: clang/unittests/Format/QualifierFixerTest.cpp:910
+               Style);
+  verifyFormat("TemplateType<T const> t;", "TemplateType<const T> t;", Style);
+}
----------------
HazardyKnusperkeks wrote:
> As far as I understand stuff like `<const Container>` worked before? But maybe still add it as test case.
It didn't work before at all.
+1 for adding a test with a longer name.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120710



More information about the cfe-commits mailing list