[PATCH] D65149: [Format] Add test demonstrating PR42722

Brian Gesiak via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 26 08:25:31 PDT 2019


modocache marked an inline comment as done.
modocache added a comment.

Sure thing! Just to be clear: this test doesn't fail, it passes. My intention was to commit this, then commit a patch that improved the indentation behavior, which would also include a change to the test that demonstrated the new behavior. But, as per your suggestion, I'll wait for the fix before committing this. Thanks!



================
Comment at: clang/unittests/Format/FormatTest.cpp:5184
+               "    c++;\n"
+               "    d++\n"
+               "  });\n"
----------------
This is a passing test that demonstrates that the indentation of `c++` and `d++` here is wacky.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65149





More information about the cfe-commits mailing list