[PATCH] D61222: [clang-format] Fix bug in determineTokenType() for TT_StartOfName

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 27 16:18:52 PDT 2019


owenpan planned changes to this revision.
owenpan added a comment.

Tested it a bit more and found another problem. The code

  DECOR1 uint32_t DECOR2 function1 (int arg1, int arg2) { return 1U; }
  DECOR1 unsigned DECOR2 function2 (int arg1, int arg2) { return 1U; }

would still be misformatted to:

  DECOR1 uint32_t DECOR2
         function1(int arg1, int arg2) { return 1U; }
  DECOR1 unsigned DECOR2
  function2(int arg1, int arg2) { return 1U; }


Repository:
  rC Clang

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

https://reviews.llvm.org/D61222





More information about the cfe-commits mailing list