[PATCH] D69764: [clang-format] Add East/West Const fixer capability

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 26 13:38:28 PDT 2020


steveire added a comment.

>   if I put any declarations inside the preprocess clauses they actually don't get converted.

Sorry, I'm not certain what this means. Does it mean that if you have

  #if 0
  Foo<const Foo<int>> P;
  #else
  Foo<const Foo<int>> P;
  #endif

that neither of them get converted?

Can you point me to a git branch I can use to try this out? The last patch I tried to download from phab didn't apply cleanly. If you have a git branch I can rebase it with more confidence.


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

https://reviews.llvm.org/D69764





More information about the cfe-commits mailing list