diff options
| author | Daniel Jasper <djasper@google.com> | 2013-12-17 12:38:55 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-12-17 12:38:55 +0000 |
| commit | bad63ae2a59d03352896f7c58fbf7eb9f9197b7b (patch) | |
| tree | 23be81d7909016100983e8f5aaeaf55259d2f810 /clang/lib/Format/WhitespaceManager.cpp | |
| parent | 33a2cc1e10402747a42a28ba8cc1998ba5c36cce (diff) | |
| download | bcm5719-llvm-bad63ae2a59d03352896f7c58fbf7eb9f9197b7b.tar.gz bcm5719-llvm-bad63ae2a59d03352896f7c58fbf7eb9f9197b7b.zip | |
clang-format: Don't adapt local format to macros.
Formatting this:
void f() { // 1 space initial indent.
int i;
#define A \
int i; \
int j;
int k; // Format this line.
}
void f() {
#define A 1 // Format this line.
}
Before:
void f() { // 1 space initial indent.
int i;
#define A \
int i; \
int j;
int k; // Format this line.
}
void f() {
#define A 1 // Format this line.
}
After:
void f() { // 1 space initial indent.
int i;
#define A \
int i; \
int j;
int k; // Format this line.
}
void f() {
#define A 1 // Format this line.
}
llvm-svn: 197494
Diffstat (limited to 'clang/lib/Format/WhitespaceManager.cpp')
0 files changed, 0 insertions, 0 deletions

