Home
last modified time | relevance | path

Searched refs:InsertBraces (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Format/
H A DFormat.h2474 bool InsertBraces; member
/llvm-project-15.0.7/clang/lib/Format/
H A DFormat.cpp812 IO.mapOptional("InsertBraces", Style.InsertBraces); in mapping()
1273 LLVMStyle.InsertBraces = false; in getLLVMStyle()
1881 this->Style.InsertBraces = false; in BracesRemover()
3268 if (Style.InsertBraces) { in reformat()
H A DUnwrappedLineParser.cpp2504 if (Style.InsertBraces && !Line->InPPDirective && !Line->Tokens.empty() && in parseUnbracedBody()
/llvm-project-15.0.7/clang/unittests/Format/
H A DFormatTest.cpp20067 CHECK_PARSE_BOOL(InsertBraces); in TEST_F()
25025 TEST_F(FormatTest, InsertBraces) { in TEST_F() argument
25027 Style.InsertBraces = true; in TEST_F()
/llvm-project-15.0.7/clang/docs/
H A DReleaseNotes.rst749 - Option ``InsertBraces`` has been added to insert optional braces after control
H A DClangFormatStyleOptions.rst2969 **InsertBraces** (``Boolean``) :versionbadge:`clang-format 15`