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 D | return-braced-init-list.rst | 1 .. 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 D | use-auto.rst | 109 * 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 D | cxx.bnf | 195 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 D | stringview-nullptr.rst | 8 braced initializer list does not compile so instead a call to ``.empty()``
|
| /llvm-project-15.0.7/llvm/test/TableGen/ |
| H A D | defvar.td | 138 // general principle of consistency, because it defines a braced sub-block).
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | CodingStandards.rst | 486 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 D | preprocessor.cpp | 601 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 D | ClangFormatStyleOptions.rst | 859 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 D | LanguageExtensions.rst | 1022 generalized initializers (using braced lists and ``std::initializer_list``) is
|
| /llvm-project-15.0.7/clang-tools-extra/docs/ |
| H A D | ReleaseNotes.rst | 96 - 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 D | list.rst | 274 `modernize-return-braced-init-list <modernize/return-braced-init-list.html>`_, "Yes"
|
| /llvm-project-15.0.7/libcxx/docs/Status/ |
| H A D | Cxx17Issues.csv | 7 "`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 D | DiagnosticLexKinds.td | 685 "parentheses are required around macro argument containing braced "
|
| H A D | DiagnosticSemaKinds.td | 5926 InGroup<DiagGroup<"braced-scalar-init">>;
|