summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTestJS.cpp
diff options
context:
space:
mode:
authorMartin Probst <martin@probst.io>2017-08-01 17:42:16 +0000
committerMartin Probst <martin@probst.io>2017-08-01 17:42:16 +0000
commit9926abb91fc8eda6d5a40dd59b73d498eabb81d2 (patch)
tree191e1048c301e59bf706da28cb3bf120e0a41c07 /clang/unittests/Format/FormatTestJS.cpp
parentcde9815dc2ccb31a39b67ef9c2788c42b1a11829 (diff)
downloadbcm5719-llvm-9926abb91fc8eda6d5a40dd59b73d498eabb81d2.tar.gz
bcm5719-llvm-9926abb91fc8eda6d5a40dd59b73d498eabb81d2.zip
clang-format: [JS] no whitespace between typeof operator and l_paren.
llvm-svn: 309713
Diffstat (limited to 'clang/unittests/Format/FormatTestJS.cpp')
-rw-r--r--clang/unittests/Format/FormatTestJS.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTestJS.cpp b/clang/unittests/Format/FormatTestJS.cpp
index 02d608eadfe..06f096a1d62 100644
--- a/clang/unittests/Format/FormatTestJS.cpp
+++ b/clang/unittests/Format/FormatTestJS.cpp
@@ -263,6 +263,7 @@ TEST_F(FormatTestJS, ReservedWordsParenthesized) {
// All of these are statements using the keyword, not function calls.
verifyFormat("throw (x + y);\n"
"await (await x).y;\n"
+ "typeof (x) === 'string';\n"
"void (0);\n"
"delete (x.y);\n"
"return (x);\n");
OpenPOWER on IntegriCloud