Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2011-02-27 19:56:07 -0500
committerSergey Prigogin2011-02-27 19:56:07 -0500
commit4b984c2b5fb0c785e6272b6df0c30262f1eedc70 (patch)
tree82d42e39ab8c1121dac02c03e9d7cea2b2a82b27 /core/org.eclipse.cdt.ui.tests/resources/formatter/preview
parent4628ff364357b2b524b5490c972397895e7f124b (diff)
downloadorg.eclipse.cdt-4b984c2b5fb0c785e6272b6df0c30262f1eedc70.tar.gz
org.eclipse.cdt-4b984c2b5fb0c785e6272b6df0c30262f1eedc70.tar.xz
org.eclipse.cdt-4b984c2b5fb0c785e6272b6df0c30262f1eedc70.zip
Formatting of trailing characters in function declarations and calls.
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests/resources/formatter/preview')
-rw-r--r--core/org.eclipse.cdt.ui.tests/resources/formatter/preview/After.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/resources/formatter/preview/After.cpp b/core/org.eclipse.cdt.ui.tests/resources/formatter/preview/After.cpp
index 6560d515aee..853c365b125 100644
--- a/core/org.eclipse.cdt.ui.tests/resources/formatter/preview/After.cpp
+++ b/core/org.eclipse.cdt.ui.tests/resources/formatter/preview/After.cpp
@@ -44,8 +44,8 @@ int foo(int bar) const {
/*
* Line Wrapping
*/
-int array[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
- 1000, 2000, 3000, 4000, 5000 };
+int array[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 1000,
+ 2000, 3000, 4000, 5000 };
int compare(int argument, int otherArg) {
return argument + otherArg > argument * otherArg + 1000000 ? 100000 + 50000
: 200000 - 30000;

Back to the top