Home
last modified time | relevance | path

Searched refs:braces (Results 1 – 25 of 225) sorted by relevance

123456789

/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dgoogle-readability-braces-around-statements.rst1 .. title:: clang-tidy - google-readability-braces-around-statements
3 :http-equiv=refresh: 5;URL=readability-braces-around-statements.html
5 google-readability-braces-around-statements
8 The google-readability-braces-around-statements check is an alias, please see
9 `readability-braces-around-statements <readability-braces-around-statements.html>`_
Dhicpp-braces-around-statements.rst1 .. title:: clang-tidy - hicpp-braces-around-statements
3 :http-equiv=refresh: 5;URL=readability-braces-around-statements.html
5 hicpp-braces-around-statements
8 The `hicpp-braces-around-statements` check is an alias, please see
9 `readability-braces-around-statements <readability-braces-around-statements.html>`_
Dreadability-braces-around-statements.rst1 .. title:: clang-tidy - readability-braces-around-statements
3 readability-braces-around-statements
6 `google-readability-braces-around-statements` redirects here as an alias for
10 ``while``) are inside braces.
37 `0` means that braces will be added to all statements (not having them
Dreadability-misleading-indentation.rst8 Missing braces can also make it significantly harder to read the code,
9 therefore it is important to use braces.
14 You can omit braces when your inner part of e.g. an ``if`` statement has only
29 // Missing braces:
/external/auto/value/src/main/java/com/google/auto/value/processor/
DReformatter.java30 for (int start = 0, previous = 0, braces = 0, parens = 0, end = 0; in fixup()
44 braces++; in fixup()
47 braces--; in fixup()
74 if (parens == 0 && braces < 2 && s.charAt(previous) != '\n' && out.length() > 0) { in fixup()
/external/python/cpython3/Misc/
Dindent.pro3 --braces-after-func-def-line
4 --braces-on-if-line
5 --braces-on-struct-decl-line
/external/python/cpython2/Misc/
Dindent.pro3 --braces-after-func-def-line
4 --braces-on-if-line
5 --braces-on-struct-decl-line
/external/rust/crates/proc-macro-hack/src/
Dparse.rs225 let ref mut braces = parse_group(tokens, Brace)?; in parse_enum_hack()
226 parse_ident(braces)?; in parse_enum_hack()
227 parse_punct(braces, '=')?; in parse_enum_hack()
229 let ref mut parens = parse_group(braces, Parenthesis)?; in parse_enum_hack()
238 parse_punct(braces, '.')?; in parse_enum_hack()
239 let _ = braces.next(); in parse_enum_hack()
240 parse_punct(braces, ',')?; in parse_enum_hack()
Dlib.rs440 let mut braces = match iter.next().unwrap() { in expand_define() localVariable
444 let variant = braces.next().unwrap(); // `Value` or `Nested` in expand_define()
447 braces.next().unwrap(); // `=` in expand_define()
449 let mut parens = match braces.next().unwrap() { in expand_define()
/external/rust/crates/syn/src/
Dgroup.rs218 $crate::__private::Ok(braces) => {
219 $content = braces.content;
220 braces.token
/external/tensorflow/tensorflow/compiler/aot/
Dbenchmark_main.template18 #include "{{TFCOMPILE_HEADER}}" // NOLINT(whitespace/braces)
26 #define CPP_CLASS {{TFCOMPILE_CPP_CLASS}} // NOLINT(whitespace/braces)
/external/perfetto/src/trace_processor/importers/json/
Djson_trace_tokenizer.cc115 int braces = 0; in ReadOneJsonDict() local
136 if (braces == 0) in ReadOneJsonDict()
138 braces++; in ReadOneJsonDict()
142 if (braces <= 0) in ReadOneJsonDict()
144 if (--braces > 0) in ReadOneJsonDict()
/external/vixl/
D.clang-tidy23 # google-readability-braces-around-statements
28 …e-build-using-namespace,-google-explicit-constructor,-google-readability-braces-around-statements,…
/external/python/pycparser/tests/
Dtest_c_lexer.py130 braces = []
132 braces.append('{')
134 braces.append('}')
140 self.assertEqual(braces, ['{', '}', '}', '}', '}', '{'])
/external/protobuf/src/google/protobuf/io/
Dprinter_unittest.cc407 const GeneratedCodeInfo::Annotation* braces = &info.annotation(2); in TEST() local
408 ASSERT_EQ(1, braces->path_size()); in TEST()
409 EXPECT_EQ(1313, braces->path(0)); in TEST()
410 EXPECT_EQ("path", braces->source_file()); in TEST()
411 EXPECT_EQ(13, braces->begin()); in TEST()
412 EXPECT_EQ(14, braces->end()); in TEST()
/external/python/cpython3/Lib/test/
Dbadsyntax_future9.py3 from __future__ import nested_scopes, braces
/external/python/cpython2/Lib/test/
Dbadsyntax_future9.py3 from __future__ import nested_scopes, braces
/external/libutf/
DMake.SunOS-sun4u-gcc2 CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c
DMake.Linux-power2 CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -I.
DMake.Linux-3862 CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -I.
DMake.Linux-x86_642 CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -fPIC -O2 -g -c -I.
DMake.FreeBSD-3862 CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -I. -I$(PREFIX)/include
DMake.OpenBSD-3862 CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -I. -I$(PREFIX)/include
DMake.NetBSD-3862 CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -I. -I$(PREFIX)/include
/external/llvm-project/compiler-rt/lib/sanitizer_common/scripts/
Dcheck_lint.sh22 …LIT_TEST_LINT_FILTER=-whitespace/indent,-whitespace/line_length,-runtime/arrays,-readability/braces
28 TSAN_RTL_LINT_FILTER=${COMMON_LINT_FILTER},-readability/braces

123456789