diff options
author | Daniel Jasper <djasper@google.com> | 2013-04-12 10:12:01 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-04-12 10:12:01 +0000 |
commit | 92a31305099285290f11bed8b444d121c3fbfee3 (patch) | |
tree | 8efc60c0ce0c489f6545012823f0d0d3926dc6ed /clang/test/Format/basic.cpp | |
parent | 664ec5d7a83c934833972314ac4ccf51ce7edeb5 (diff) | |
download | bcm5719-llvm-92a31305099285290f11bed8b444d121c3fbfee3.tar.gz bcm5719-llvm-92a31305099285290f11bed8b444d121c3fbfee3.zip |
Provide better emacs integration.
The new emacs integration is simpler, does not save the current file
before reformatting and ensures that emacs does not scroll as a result
of formatting.
Also explicitly set the style in clang-format tests to make them more
robust.
llvm-svn: 179372
Diffstat (limited to 'clang/test/Format/basic.cpp')
-rw-r--r-- | clang/test/Format/basic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Format/basic.cpp b/clang/test/Format/basic.cpp index 375bbd2ec71..a12866b9c1e 100644 --- a/clang/test/Format/basic.cpp +++ b/clang/test/Format/basic.cpp @@ -1,5 +1,5 @@ // RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp -// RUN: clang-format -i %t.cpp +// RUN: clang-format -style=LLVM -i %t.cpp // RUN: FileCheck -strict-whitespace -input-file=%t.cpp %s // CHECK: {{^int\ \*i;}} |