Home
last modified time | relevance | path

Searched refs:braced (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Dreturn-braced-init-list.rst1 .. title:: clang-tidy - modernize-return-braced-init-list
3 modernize-return-braced-init-list
6 Replaces explicit calls to the constructor in a return with a braced
H A Duse-auto.rst109 * The initializer for the variable being declared is not a braced initializer
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/cxx/
H A Dcxx.bnf195 new-initializer := braced-init-list
250 yield-expression := CO_YIELD braced-init-list
302 for-range-initializer := expr-or-braced-init-list
305 jump-statement := RETURN expr-or-braced-init-list_opt ;
468 brace-or-equal-initializer := braced-init-list
470 initializer-clause := braced-init-list
475 braced-init-list := { initializer-list , }
476 braced-init-list := { }
484 expr-or-braced-init-list := expression
485 expr-or-braced-init-list := braced-init-list
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dstringview-nullptr.rst8 braced initializer list does not compile so instead a call to ``.empty()``
/llvm-project-15.0.7/llvm/test/TableGen/
H A Ddefvar.td138 // general principle of consistency, because it defines a braced sub-block).
/llvm-project-15.0.7/llvm/docs/
H A DCodingStandards.rst486 Starting from C++11, there are significantly more uses of braced lists to
492 The historically common formatting of braced initialization of aggregate
495 formatting braced initialization lists: act as-if the braces were parentheses
621 calling constructors using braced initializer lists. Do not use these to call
626 don't use a braced initializer list. Instead, use a braced initializer list
649 If you use a braced initializer list when initializing a variable, use an equals before the open cu…
1602 ``if``/``else`` chain does not use braced bodies for either all or none of its
1661 // Use braces for the outer `if` since the nested `for` is braced.
/llvm-project-15.0.7/flang/lib/Parser/
H A Dpreprocessor.cpp601 TokenSequence braced{dir, j + 1, k - j - 1}; in Directive() local
602 include = ReplaceMacros(braced, prescanner).ToString(); in Directive()
/llvm-project-15.0.7/clang/docs/
H A DClangFormatStyleOptions.rst859 If a function call or braced initializer list doesn't fit on a
2402 If ``true``, format braced lists as best suited for C++11 braced
2406 - No spaces inside the braced list.
2410 Fundamentally, C++11 braced lists are formatted exactly like function
2411 calls would be formatted in their place. If the braced list follows a name
4086 If ``true``, a space will be inserted before a C++11 braced list
H A DLanguageExtensions.rst1022 generalized initializers (using braced lists and ``std::initializer_list``) is
/llvm-project-15.0.7/clang-tools-extra/docs/
H A DReleaseNotes.rst96 - Fix to define outline when the parameter has a braced initializer.
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/
H A Dlist.rst274 `modernize-return-braced-init-list <modernize/return-braced-init-list.html>`_, "Yes"
/llvm-project-15.0.7/libcxx/docs/Status/
H A DCxx17Issues.csv7 "`2354 <https://wg21.link/LWG2354>`__","Unnecessary copying when inserting into maps with braced-in…
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnosticLexKinds.td685 "parentheses are required around macro argument containing braced "
H A DDiagnosticSemaKinds.td5926 InGroup<DiagGroup<"braced-scalar-init">>;