summaryrefslogtreecommitdiffstats
path: root/clang/test/Format/language-detection.cpp
diff options
context:
space:
mode:
authorRafael Stahl <r.stahl@tum.de>2019-07-12 15:56:18 +0000
committerRafael Stahl <r.stahl@tum.de>2019-07-12 15:56:18 +0000
commitf625a8a250b393b29a277ca790f6bc2fce7aa192 (patch)
tree0ab044e09fa5fea002dad6197edc62a7bb322f14 /clang/test/Format/language-detection.cpp
parent6f4fb4e7ad67499391dd5b63ad9f5a11b1c74171 (diff)
downloadbcm5719-llvm-f625a8a250b393b29a277ca790f6bc2fce7aa192.tar.gz
bcm5719-llvm-f625a8a250b393b29a277ca790f6bc2fce7aa192.zip
[clang-format][tests] Explicitly specify style in some tests
Summary: This fixes broken tests when doing an out-of-source build that picks up a random .clang-format on the file system due to the default "file" style. Reviewers: djasper, klimek, MyDeveloperDay, krasimir Reviewed By: MyDeveloperDay Subscribers: lebedev.ri, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D61001 llvm-svn: 365909
Diffstat (limited to 'clang/test/Format/language-detection.cpp')
-rw-r--r--clang/test/Format/language-detection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Format/language-detection.cpp b/clang/test/Format/language-detection.cpp
index 2a53be71daf..72e2146c54a 100644
--- a/clang/test/Format/language-detection.cpp
+++ b/clang/test/Format/language-detection.cpp
@@ -1,8 +1,8 @@
// RUN: grep -Ev "// *[A-Z0-9_]+:" %s \
-// RUN: | clang-format -style=llvm -assume-filename=foo.js \
+// RUN: | clang-format -style=LLVM -assume-filename=foo.js \
// RUN: | FileCheck -strict-whitespace -check-prefix=CHECK1 %s
// RUN: grep -Ev "// *[A-Z0-9_]+:" %s \
-// RUN: | clang-format -style=llvm -assume-filename=foo.cpp \
+// RUN: | clang-format -style=LLVM -assume-filename=foo.cpp \
// RUN: | FileCheck -strict-whitespace -check-prefix=CHECK2 %s
// CHECK1: {{^a >>>= b;$}}
// CHECK2: {{^a >> >= b;$}}
OpenPOWER on IntegriCloud