[PATCH] D60362: [clang-format] [PR39719] clang-format converting object-like macro to function-like macro

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 17 17:31:27 PDT 2019


owenpan added a comment.

A more straightforward way, IMO, is to add to the `spaceRequiredBetween` function a separate `if` statement that returns false for the sequence of tokens: `#`, `define`, tok::identifier, and `(`


Repository:
  rC Clang

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

https://reviews.llvm.org/D60362





More information about the cfe-commits mailing list