[PATCH] D18950: clang-format: [JS] Test for parameter annotations.
Martin Probst via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 11 02:23:34 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL265922: clang-format: [JS] Test for parameter annotations. (authored by mprobst).
Changed prior to commit:
http://reviews.llvm.org/D18950?vs=53201&id=53205#toc
Repository:
rL LLVM
http://reviews.llvm.org/D18950
Files:
cfe/trunk/unittests/Format/FormatTestJS.cpp
Index: cfe/trunk/unittests/Format/FormatTestJS.cpp
===================================================================
--- cfe/trunk/unittests/Format/FormatTestJS.cpp
+++ cfe/trunk/unittests/Format/FormatTestJS.cpp
@@ -936,6 +936,9 @@
" return 'y';\n"
" }\n"
"}");
+ verifyFormat("class C {\n"
+ " private x(@A x: string) {}\n"
+ "}");
verifyFormat("class X {}\n"
"class Y {}");
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18950.53205.patch
Type: text/x-patch
Size: 483 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160411/382dd227/attachment.bin>
More information about the cfe-commits
mailing list