/external/clang/test/Sema/ |
warn-missing-braces.c | 1 // RUN: %clang_cc1 -fsyntax-only -Wmissing-braces -verify %s 3 int a[2][2] = { 0, 1, 2, 3 }; // expected-warning{{suggest braces}} expected-warning{{suggest braces}}
|
array-init.c | 179 float r1[10] = {{7}}; //expected-warning{{braces around scalar initializer}} 180 float r2[] = {{8}}; //expected-warning{{braces around scalar initializer}} 184 float r4[1][2] = {1,{2},3,4}; //expected-warning{{braces around scalar initializer}} expected-warning{{excess elements in array initializer}} 217 int u2 = {{3}}; //expected-warning{{too many braces around scalar initializer}}
|
/external/clang/test/Parser/ |
warn-dangling-else.cpp | 6 { if (a) if (b) d++; else e++; } // expected-warning {{add explicit braces to avoid dangling else}} 7 { if (a) while (b) if (c) d++; else e++; } // expected-warning {{add explicit braces to avoid dangling else}} 8 { if (a) switch (b) if (c) d++; else e++; } // expected-warning {{add explicit braces to avoid dangling else}} 9 { if (a) for (;;) if (c) d++; else e++; } // expected-warning {{add explicit braces to avoid dangling else}} 10 { if (a) if (b) if (d) d++; else e++; else d--; } // expected-warning {{add explicit braces to avoid dangling else}} 15 } else e++; // expected-warning {{add explicit braces to avoid dangling else}}
|
/external/clang/test/SemaCXX/ |
cxx0x-initializer-aggregates.cpp | 7 // Direct list initialization does NOT allow braces to be elided! 25 S s3{ 1, 2, 3, 4, 5, 6 }; // expected-error 5 {{cannot omit braces}} 26 S s4{ {1, 2}, {3, 4}, {5, 6}, { {7, 8} } }; // expected-error 2 {{cannot omit braces}} 27 S s5{ {1, 2}, {3, 4}, { {5}, {6} }, {7, 8} }; // expected-error {{cannot omit braces}} 32 new S{ 1, 2, 3, 4, 5, 6 }; // expected-error 5 {{cannot omit braces}} 33 new S{ {1, 2}, {3, 4}, {5, 6}, { {7, 8} } }; // expected-error 2 {{cannot omit braces}} 34 new S{ {1, 2}, {3, 4}, { {5}, {6} }, {7, 8} }; // expected-error {{cannot omit braces}} 39 (void) S{ 1, 2, 3, 4, 5, 6 }; // expected-error 5 {{cannot omit braces}} 40 (void) S{ {1, 2}, {3, 4}, {5, 6}, { {7, 8} } }; // expected-error 2 {{cannot omit braces}} 41 (void) S{ {1, 2}, {3, 4}, { {5}, {6} }, {7, 8} }; // expected-error {{cannot omit braces}} [all...] |
dcl_init_aggr.cpp | 66 EmptyTest empty_test2 = { 3 }; // expected-error{{initializer for aggregate with no elements requires explicit braces}}
|
/external/clang/test/CodeGen/ |
globalinit.c | 35 // Scalars in braces.
|
init.c | 4 // Scalars in braces.
|
/external/clang/test/Preprocessor/ |
stringize_misc.c | 19 START_END( {a=1 , b=2;} ) /* braces are not parentheses */
|
/external/oprofile/doc/ |
CodingStyle | 71 C++ inline methods in headers. use Java braces : 102 braces. Never use the comma operator to avoid braces. If there is more 104 braces. If there is an else clause, you should probably use braces; if 105 any of the branches in an if/else if change has braces, they all should.
|
oprofile.1.in | 68 part of a profile specification in curly braces { } can be used 71 ; the braces
|
/packages/apps/Browser/tools/ |
all_search_engines.template.xml | 34 The parameters enclosed in curly braces come from the OpenSearch specification, see
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
error_check.py | 66 'forbids braces around @inheritdoc JsDoc tags.\n' 67 ' - ' + Rule.BRACES_AROUND_TYPE + ': enforces braces '
|
javascriptstatetracker.py | 36 including braces. 38 including braces.
|
/external/bison/build-aux/ |
useless-if-before-free | 5 # Likewise "if (p != 0)", "if (0 != p)", or with NULL; and with braces. 177 # FIXME: do something like this as an option (doesn't do braces): 184 # Use the following to remove redundant uses of kfree inside braces.
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/utils/ |
DbQueryUtils.java | 46 // all pass. I can also remove the braces, and the tests all pass.
|
/external/iproute2/man/man8/ |
tc-bfifo.8 | 50 and packets actually sent. An unsent and dropped packet only appears between braces
|
tc-pfifo.8 | 50 and packets actually sent. An unsent and dropped packet only appears between braces
|
/external/v8/tools/ |
jsmin.py | 38 around curly braces, so the declaration must be above the first use. 84 # several sets of nested braces. 92 These can be curly braces, literal strings, function declarations and var 273 r"\{", # Curly braces.
|
/external/webkit/Source/WebCore/css/ |
FontFamilyValue.cpp | 34 // braces at the end" and "[Xft] qualifiers", but it's not clear either of those
|
/external/bison/lib/ |
msvc-inval.h | 208 /* The braces here avoid GCC warnings like 209 "warning: suggest explicit braces to avoid ambiguous 'else'". */
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
XSLOutputAttributes.java | 187 * if it is in no namespace, but is the URI in curly braces followed by 210 * if it is in no namespace, but is the URI in curly braces followed by 225 * if it is in no namespace, but is the URI in curly braces followed by
|
/external/clang/include/clang/ASTMatchers/ |
ASTMatchersMacros.h | 44 /// The code between the curly braces has access to the following variables: 76 /// The code between the curly braces has access to the following variables: 117 /// The code between the curly braces has access to the following variables:
|
/external/webkit/Tools/Scripts/webkitpy/style/checkers/ |
cpp_unittest.py | [all...] |
/external/e2fsprogs/lib/ext2fs/ |
dosio.h | 145 * only one of the option in curly braces can be used and X is an optional
|
/external/elfutils/tests/ |
run-native-test.sh | 61 # Some shell versions don't do this right without the braces.
|