aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-04-29 13:06:49 +0000
committerDaniel Jasper <djasper@google.com>2015-04-29 13:06:49 +0000
commita4499133b124cc3026c0ca33e7b8ead1b5c1d723 (patch)
tree232530fa6da9fd78fb6af1c057ddf19e4ca827c5 /clang/lib/CodeGen/CodeGenModule.cpp
parent301f93776534b8a97b158b5f9de0865379ba2346 (diff)
downloadllvm-a4499133b124cc3026c0ca33e7b8ead1b5c1d723.zip
llvm-a4499133b124cc3026c0ca33e7b8ead1b5c1d723.tar.gz
llvm-a4499133b124cc3026c0ca33e7b8ead1b5c1d723.tar.bz2
clang-format: Add ability to align assignment operators.
In Objective-C some style guides use a style where assignment operators are aligned, in an effort to increase code readability. This patch adds an option to the format library which allows this functionality. It is disabled by default for all the included styles, so it must be explicitly enabled. The option will change code such as: - (void)method { NSNumber *one = @1; NSNumber *twentyFive = @25; } to: - (void)method { NSNumber *one = @1; NSNumber *twentyFive = @25; } Patch by Matt Oakes. Thank you! Accidentally reformatted all the tests... llvm-svn: 236100
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions