Closed
Description
| Bugzilla Link | 16157 |
| Resolution | FIXED |
| Resolved on | Jun 28, 2013 12:29 |
| Version | unspecified |
| OS | Linux |
| CC | @rnk |
Extended Description
Hi,
clang-format now formats the following code differently:
This:
static cl::opt
ValueDependences("polly-value-dependences",
cl::desc("Use value instead of memory based dependences"),
cl::Hidden, cl::init(true), cl::cat(PollyCategory));
became:
static cl::opt
ValueDependences("polly-value-dependences",
cl::desc("Use value instead of memory based dependences"),
cl::Hidden, cl::init(true), cl::cat(PollyCategory));
I can see the reasoning behind this, but a quick grep 'grep -R cl::opt -A 2 lib/'
does not show a single use of this in LLVM whereas the first one is very common.
I believe this change should be disabled in the LLVM style
Activity