/llvm-project/clang/unittests/Format/ |
H A D | UsingDeclarationsSorterTest.cpp | 24 const FormatStyle &Style = getLLVMStyle()) { in sortUsingDeclarations() 36 const FormatStyle &Style = getLLVMStyle()) { in sortUsingDeclarations() 44 FormatStyle Style = getLLVMStyle(); in TEST_F() local 153 FormatStyle Style = getLLVMStyle(); in TEST_F() local 280 FormatStyle Style = getLLVMStyle(); in TEST_F() local 349 FormatStyle Style = getLLVMStyle(); in TEST_F() local 402 FormatStyle Style = getLLVMStyle(); in TEST_F() local 431 FormatStyle Style = getLLVMStyle(); in TEST_F() local 452 FormatStyle Style = getLLVMStyle(); in TEST_F() local 477 FormatStyle Style = getLLVMStyle(); in TEST_F() local [all …]
|
H A D | QualifierFixerTest.cpp | 32 const FormatStyle &Style = getLLVMStyle()) { in annotate() argument 56 FormatStyle Style = {}; in TEST_F() local 65 FormatStyle Style in TEST_F() local 74 FormatStyle Style = {}; TEST_F() local 86 FormatStyle Style = {}; TEST_F() local 93 FormatStyle Style = {}; TEST_F() local 100 FormatStyle Style = {}; TEST_F() local 107 FormatStyle Style = {}; TEST_F() local 114 FormatStyle Style = getLLVMStyle(); TEST_F() local 148 FormatStyle Style = getLLVMStyle(); TEST_F() local 181 FormatStyle Style = getLLVMStyle(); TEST_F() local 538 FormatStyle Style = getLLVMStyle(); TEST_F() local 846 FormatStyle Style = getLLVMStyle(); TEST_F() local 927 FormatStyle Style = getLLVMStyle(); TEST_F() local 945 FormatStyle Style = getLLVMStyle(); TEST_F() local 958 FormatStyle Style = getLLVMStyle(); TEST_F() local 972 FormatStyle Style = getLLVMStyle(); TEST_F() local 994 FormatStyle Style = getLLVMStyle(); TEST_F() local 1029 FormatStyle Style = getLLVMStyle(); TEST_F() local 1134 FormatStyle Style = getLLVMStyle(); TEST_F() local 1143 FormatStyle Style = getLLVMStyle(); TEST_F() local 1180 auto Style = getLLVMStyle(); TEST_F() local 1194 FormatStyle Style = getLLVMStyle(); TEST_F() local 1210 FormatStyle Style = getLLVMStyle(); TEST_F() local 1225 FormatStyle Style = getLLVMStyle(); TEST_F() local 1265 FormatStyle Style = getLLVMStyle(); TEST_F() local 1280 FormatStyle Style = getLLVMStyle(); TEST_F() local 1302 FormatStyle Style = getLLVMStyle(); TEST_F() local 1325 FormatStyle Style = getLLVMStyle(); TEST_F() local 1355 FormatStyle Style = getLLVMStyle(); TEST_F() local [all...] |
H A D | FormatTestCSharp.cpp | 25 const FormatStyle &Style) { in format() argument 38 const FormatStyle &Style = getMicrosoftStyle(FormatStyle::LK_CSharp)) { in format() argument 43 FormatStyle Style = getMicrosoftStyle(FormatStyle::LK_CSharp); in getStyleWithColumns() local 72 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); in TEST_F() local 129 auto Style = getDefaultStyle(); TEST_F() local 141 auto Style = getDefaultStyle(); TEST_F() local 226 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 232 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 397 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 405 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 474 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 487 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 507 FormatStyle Style = getMicrosoftStyle(FormatStyle::LK_CSharp); TEST_F() local 580 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 615 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 624 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 635 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 648 FormatStyle Style = getMicrosoftStyle(FormatStyle::LK_CSharp); TEST_F() local 675 FormatStyle Style = getLLVMStyle(FormatStyle::LK_CSharp); TEST_F() local 958 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 1001 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 1012 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 1028 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 1155 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 1175 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 1243 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 1283 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 1298 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 1355 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 1434 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); TEST_F() local 1568 FormatStyle Style = getMicrosoftStyle(FormatStyle::LK_CSharp); TEST_F() local 1623 FormatStyle Style = getMicrosoftStyle(FormatStyle::LK_CSharp); TEST_F() local 1633 auto Style = getLLVMStyle(); TEST_F() local 1650 FormatStyle Style = getLLVMStyle(FormatStyle::LK_CSharp); TEST_F() local [all...] |
H A D | FormatTestJson.cpp | 22 const FormatStyle &Style) { in format() 51 const FormatStyle &Style = getLLVMStyle(FormatStyle::LK_Json)) { in format() 56 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Json); in getStyleWithColumns() local 61 static void verifyFormatStable(StringRef Code, const FormatStyle &Style) { in verifyFormatStable() 67 const FormatStyle &Style = getLLVMStyle(FormatStyle::LK_Json)) { in verifyFormat() 162 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Json); in TEST_F() local 183 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Json); in TEST_F() local 220 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Json); in TEST_F() local 239 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Json); in TEST_F() local 254 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Json); in TEST_F() local
|
H A D | FormatTestMacroExpansion.cpp | 21 FormatStyle Style = getLLVMStyle(); in TEST_F() local 232 FormatStyle Style = getLLVMStyle(); in TEST_F() local 242 FormatStyle Style = getLLVMStyle(); in TEST_F() local 252 FormatStyle Style = getLLVMStyle(); in TEST_F() local 260 FormatStyle Style = getGoogleStyleWithColumns(42); in TEST_F() local 270 FormatStyle Style = getGoogleStyleWithColumns(40); in TEST_F() local 281 FormatStyle Style = getGoogleStyleWithColumns(22); in TEST_F() local 292 FormatStyle Style = getGoogleStyleWithColumns(22); in TEST_F() local
|
H A D | ObjCPropertyAttributeOrderFixerTest.cpp | 32 const FormatStyle &Style = getLLVMStyle()) { in annotate() 41 FormatStyle Style = {}; in TEST_F() local 77 FormatStyle Style = getLLVMStyle(); in TEST_F() local 122 FormatStyle Style = getLLVMStyle(); in TEST_F() local 145 FormatStyle Style = getLLVMStyle(); in TEST_F() local 169 FormatStyle Style = getLLVMStyle(); in TEST_F() local 189 FormatStyle Style = getLLVMStyle(); in TEST_F() local 204 FormatStyle Style = getLLVMStyle(); in TEST_F() local 399 FormatStyle Style = getLLVMStyle(); in TEST_F() local
|
H A D | DefinitionBlockSeparatorTest.cpp | 26 const FormatStyle &Style = getLLVMStyle()) { in separateDefinitionBlocks() 38 const FormatStyle &Style = getLLVMStyle()) { in separateDefinitionBlocks() 45 const FormatStyle &Style = getLLVMStyle(), in _verifyFormat() 91 FormatStyle Style = getLLVMStyle(); in TEST_F() local 165 FormatStyle Style = getLLVMStyle(); in TEST_F() local 179 FormatStyle Style = getLLVMStyle(); in TEST_F() local 283 FormatStyle Style = getLLVMStyle(); in TEST_F() local 349 FormatStyle Style = getLLVMStyle(); in TEST_F() local 400 FormatStyle Style = getLLVMStyle(); in TEST_F() local 464 FormatStyle Style = getLLVMStyle(); in TEST_F() local [all …]
|
H A D | FormatTestRawStrings.cpp | 28 std::string format(StringRef Code, const FormatStyle &Style = getLLVMStyle(), in format() 48 FormatStyle getStyleWithColumns(FormatStyle Style, unsigned ColumnLimit) { in getStyleWithColumns() 60 FormatStyle Style = getLLVMStyle(); in getRawStringPbStyleWithColumns() local 75 FormatStyle Style = getLLVMStyle(); in getRawStringLLVMCppStyleBasedOn() local 89 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Cpp); in getRawStringGoogleCppStyleBasedOn() local 135 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Cpp); in TEST_F() local 759 FormatStyle Style = getRawStringPbStyleWithColumns(40); in TEST_F() local 781 FormatStyle Style = getRawStringPbStyleWithColumns(35); in TEST_F() local 798 FormatStyle Style = getRawStringPbStyleWithColumns(60); in TEST_F() local 828 FormatStyle Style = getRawStringPbStyleWithColumns(80); in TEST_F() local [all …]
|
H A D | FormatTest.cpp | 49 auto Style = getLLVMStyle(); in TEST_F() local 390 FormatStyle Style = getLLVMStyle(); in TEST_F() local 1761 FormatStyle Style = getLLVMStyle(); TEST_F() local 1852 FormatStyle Style = getLLVMStyle(); TEST_F() local 1888 FormatStyle Style = getLLVMStyleWithColumns(60); TEST_F() local 2028 FormatStyle Style = getLLVMStyle(); TEST_F() local 2374 FormatStyle Style = getLLVMStyle(); TEST_F() local 2713 FormatStyle Style = getLLVMStyle(); TEST_F() local 2824 FormatStyle Style = getLLVMStyle(); TEST_F() local 2869 FormatStyle Style = getLLVMStyle(); TEST_F() local 2903 FormatStyle Style = getLLVMStyle(); TEST_F() local 3132 FormatStyle Style = getLLVMStyle(); TEST_F() local 3201 FormatStyle Style = getLLVMStyleWithColumns(20); TEST_F() local 3425 FormatStyle Style = getLLVMStyle(); TEST_F() local 3953 FormatStyle Style = getLLVMStyleWithColumns(40); TEST_F() local 4034 FormatStyle Style = getLLVMStyle(); TEST_F() local 4184 FormatStyle Style = getLLVMStyle(); TEST_F() local 4347 FormatStyle Style = getLLVMStyle(); TEST_F() local 4442 FormatStyle Style = getLLVMStyle(); TEST_F() local 4639 FormatStyle Style = getLLVMStyle(); TEST_F() local 4664 FormatStyle Style = getLLVMStyle(); TEST_F() local 4776 auto Style = getLLVMStyleWithColumns(0); TEST_F() local 4854 FormatStyle Style = getLLVMStyle(); TEST_F() local 4928 FormatStyle Style = getLLVMStyle(); TEST_F() local 5072 auto Style = getLLVMStyleWithColumns(60); TEST_F() local 5733 FormatStyle Style = getLLVMStyle(); TEST_F() local 5993 FormatStyle Style = getLLVMStyle(); TEST_F() local 6083 FormatStyle Style = getLLVMStyleWithColumns(40); TEST_F() local 6457 FormatStyle Style = getLLVMStyle(); TEST_F() local 6948 FormatStyle Style = getGoogleStyle(); TEST_F() local 6987 FormatStyle Style = getLLVMStyle(); TEST_F() local 7021 FormatStyle Style = getLLVMStyle(); TEST_F() local 7237 FormatStyle Style = getLLVMStyle(); TEST_F() local 7345 FormatStyle Style = getLLVMStyle(); TEST_F() local 7456 FormatStyle Style = getLLVMStyle(); TEST_F() local 7492 FormatStyle Style = getLLVMStyle(); TEST_F() local 7501 FormatStyle Style = getLLVMStyleWithColumns(40); TEST_F() local 7554 auto Style = getLLVMStyleWithColumns(45); TEST_F() local 7719 FormatStyle Style = getLLVMStyleWithColumns(60); TEST_F() local 7919 FormatStyle Style = getLLVMStyleWithColumns(60); TEST_F() local 7973 FormatStyle Style = getLLVMStyleWithColumns(35); TEST_F() local 8038 FormatStyle Style = getLLVMStyle(); TEST_F() local 8067 FormatStyle Style = getLLVMStyle(); TEST_F() local 8120 FormatStyle Style = getLLVMStyle(); TEST_F() local 8524 FormatStyle Style = getLLVMStyle(); TEST_F() local 8565 FormatStyle Style = getLLVMStyleWithColumns(60); TEST_F() local 8605 FormatStyle Style = getGoogleStyleWithColumns(47); TEST_F() local 8928 FormatStyle Style = getLLVMStyleWithColumns(15); TEST_F() local 9156 FormatStyle Style = getLLVMStyle(); TEST_F() local 9219 FormatStyle Style = getLLVMStyle(); TEST_F() local 9343 FormatStyle Style = getLLVMStyleWithColumns(40); TEST_F() local 9502 FormatStyle Style = getLLVMStyleWithColumns(70); TEST_F() local 9654 FormatStyle Style = getLLVMStyleWithColumns(70); TEST_F() local 9892 FormatStyle Style = getGoogleStyle(); TEST_F() local 9989 FormatStyle Style = getLLVMStyle(); TEST_F() local 10832 auto Style = getLLVMStyle(); TEST_F() local 10902 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Cpp); TEST_F() local 10947 FormatStyle Style = getLLVMStyle(); TEST_F() local 11061 FormatStyle Style = getLLVMStyle(); TEST_F() local 11162 FormatStyle Style = getLLVMStyle(); TEST_F() local 11543 FormatStyle Style = getLLVMStyle(); TEST_F() local 11896 FormatStyle Style = getLLVMStyle(); TEST_F() local 12229 FormatStyle Style = getChromiumStyle(FormatStyle::LK_Cpp); TEST_F() local 12253 FormatStyle Style = getLLVMStyle(); TEST_F() local 12276 FormatStyle Style = getLLVMStyle(); TEST_F() local 12289 FormatStyle Style = getLLVMStyle(); TEST_F() local 12670 FormatStyle Style = getLLVMStyle(); TEST_F() local 12974 FormatStyle Style = getLLVMStyle(); TEST_F() local 13342 FormatStyle Style = getLLVMStyle(); TEST_F() local 13578 FormatStyle Style = getLLVMStyle(); TEST_F() local 13682 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Cpp); TEST_F() local 14564 FormatStyle Style = getLLVMStyleWithColumns(40); TEST_F() local 14631 FormatStyle Style = getLLVMStyleWithColumns(40); TEST_F() local 14661 FormatStyle Style = getLLVMStyle(); TEST_F() local 14672 FormatStyle Style = getLLVMStyle(); TEST_F() local 14778 FormatStyle Style = getLLVMStyle(); TEST_F() local 14805 FormatStyle Style = getLLVMStyle(); TEST_F() local 14828 FormatStyle Style = getLLVMStyle(); TEST_F() local 14856 FormatStyle Style = getLLVMStyle(); TEST_F() local 15163 FormatStyle Style = getLLVMStyle(); TEST_F() local 15348 FormatStyle Style = getLLVMStyleWithColumns(12); TEST_F() local 15418 FormatStyle Style = getGoogleStyleWithColumns(15); TEST_F() local 15427 FormatStyle Style = getLLVMStyleWithColumns(20); TEST_F() local 15545 FormatStyle Style = getLLVMStyleWithColumns(25); TEST_F() local 15628 FormatStyle Style = getLLVMStyle(); TEST_F() local 15635 FormatStyle Style = getLLVMStyle(); TEST_F() local 17774 FormatStyle Style = getLLVMStyle(); TEST_F() local 17869 FormatStyle Style = getLLVMStyle(); TEST_F() local 19801 FormatStyle Style = getMozillaStyle(); TEST_F() local 20100 auto Style = getLLVMStyleWithColumns(120); TEST_F() local 20248 auto Style = getLLVMStyleWithColumns(60); TEST_F() local 21293 auto Style = getLLVMStyle(); TEST_F() local 21555 auto Style = getLLVMStyle(); TEST_F() local 21864 auto Style = getLLVMStyleWithColumns(0); TEST_F() local 21870 FormatStyle Style = getLLVMStyleWithColumns(20); TEST_F() local 21984 FormatStyle Style = getLLVMStyle(); TEST_F() local 21998 FormatStyle Style = getLLVMStyle(); TEST_F() local 22014 FormatStyle Style = getLLVMStyle(); TEST_F() local 22044 FormatStyle Style = getLLVMStyle(); TEST_F() local 22073 auto Style = getLLVMStyle(); TEST_F() local 22191 FormatStyle Style = getLLVMStyle(); TEST_F() local 22232 FormatStyle Style = getLLVMStyle(); TEST_F() local 22328 FormatStyle Style = getLLVMStyle(); TEST_F() local 22405 FormatStyle Style = getWebKitStyle(); TEST_F() local 22887 auto Style = getGoogleStyle(); TEST_F() local 23926 FormatStyle Style = getLLVMStyle(); TEST_F() local 24014 FormatStyle Style = getLLVMStyle(); TEST_F() local 24224 FormatStyle Style = getLLVMStyle(); TEST_F() local 24260 FormatStyle Style = getLLVMStyle(); TEST_F() local 24563 FormatStyle Style = getLLVMStyle(); TEST_F() local 24604 FormatStyle Style = getLLVMStyle(); TEST_F() local 24634 FormatStyle Style = getLLVMStyle(); TEST_F() local 24731 FormatStyle Style = getLLVMStyle(); TEST_F() local 24885 FormatStyle Style = getLLVMStyle(); TEST_F() local 24896 FormatStyle Style = getLLVMStyle(); TEST_F() local 24921 auto Style = getLLVMStyle(); TEST_F() local 25064 FormatStyle Style = getLLVMStyleWithColumns(80); TEST_F() local 25129 FormatStyle Style = getLLVMStyle(); TEST_F() local 25254 FormatStyle Style = getLLVMStyle(); TEST_F() local 25261 FormatStyle Style = getGNUStyle(); TEST_F() local 25269 FormatStyle Style = getMozillaStyle(); TEST_F() local 25277 FormatStyle Style = getGoogleStyle(); TEST_F() local 25284 FormatStyle Style = getChromiumStyle(FormatStyle::LanguageKind::LK_Cpp); TEST_F() local 25291 FormatStyle Style = getMicrosoftStyle(FormatStyle::LanguageKind::LK_Cpp); TEST_F() local 25299 FormatStyle Style = getWebKitStyle(); TEST_F() local 25312 FormatStyle Style = getLLVMStyle(); TEST_F() local 25724 auto Style = getLLVMStyle(); TEST_F() local 26001 auto Style = getLLVMStyle(); TEST_F() local 26056 auto Style = getLLVMStyle(); TEST_F() local 26173 FormatStyle Style = getLLVMStyle(); TEST_F() local 26203 FormatStyle Style = getLLVMStyle(); TEST_F() local 26269 auto Style = getLLVMStyleWithColumns(0); TEST_F() local 26320 FormatStyle Style = getLLVMStyle(); TEST_F() local 26389 FormatStyle Style = getLLVMStyle(); TEST_F() local 26418 FormatStyle Style = getLLVMStyleWithColumns(40); TEST_F() local 26447 auto Style = getLLVMStyle(); TEST_F() local 26464 auto Style = getLLVMStyle(); TEST_F() local 26476 auto Style = getLLVMStyleWithColumns(70); TEST_F() local 26524 auto Style = getLLVMStyle(); TEST_F() local 26682 auto Style = getLLVMStyle(); TEST_F() local 26744 auto Style = getLLVMStyle(); TEST_F() local 26774 auto Style = getLLVMStyleWithColumns(60); TEST_F() local 26933 auto Style = getLLVMStyle(); TEST_F() local 26997 auto Style = getLLVMStyle(); TEST_F() local 27067 FormatStyle Style = getLLVMStyle(); TEST_F() local 27152 FormatStyle Style = getLLVMStyle(); TEST_F() local 27342 FormatStyle Style = getLLVMStyle(); TEST_F() local 27350 FormatStyle Style = getLLVMStyle(); TEST_F() local 27383 FormatStyle Style = getLLVMStyle(); TEST_F() local 27495 auto Style = getLLVMStyleWithColumns(35); TEST_F() local 27581 auto Style = getLLVMStyle(); TEST_F() local 27592 auto Style = getLLVMStyle(); TEST_F() local [all...] |
H A D | ConfigParseTest.cpp | 153 FormatStyle Style = {}; TEST() local 253 FormatStyle Style = {}; TEST() local 1041 FormatStyle Style = {}; TEST() local 1164 FormatStyle Style = {}; TEST() local 1185 FormatStyle Style = getLLVMStyle(); TEST() local 1295 auto Style = getNoStyle(); TEST() local 1316 auto Style = getNoStyle(); TEST() local 1326 auto Style = getLLVMStyle(); TEST() local 1339 auto Style = getGoogleStyle(); TEST() local 1347 auto Style = getGoogleStyle(); TEST() local 1389 auto Style = getLLVMStyle(); TEST() local 1397 auto Style = getLLVMStyle(); TEST() local 1421 auto Style = getStyle("file:/e/explicit.clang-format", TEST() local 1473 auto Style = getStyle("{invalid_key=invalid_value}", "a.h", "LLVM", "", &FS, TEST() local [all...] |
H A D | NamespaceEndCommentsFixerTest.cpp | 25 const FormatStyle &Style = getLLVMStyle()) { in fixNamespaceEndComments() 38 const FormatStyle &Style = getLLVMStyle()) { in fixNamespaceEndComments() 45 const FormatStyle &Style = getLLVMStyle()) const { in isFormatted() 51 const FormatStyle &Style = getLLVMStyle()) const { in isFormatted() 488 FormatStyle Style = getLLVMStyle(); in TEST_F() local 684 FormatStyle Style = getLLVMStyle(); in TEST_F() local 789 FormatStyle Style = getLLVMStyle(); in TEST_F() local 922 FormatStyle Style = getLLVMStyle(); in TEST_F() local 1297 auto Style = getLLVMStyle(); in TEST_F() local 1318 auto const Style = getLLVMStyle(); in TEST_F() local [all …]
|
H A D | FormatTestVerilog.cpp | 28 FormatStyle Style = getDefaultStyle(); in TEST_F() local 185 auto Style = getDefaultStyle(); TEST_F() local 257 auto Style = getDefaultStyle(); TEST_F() local 605 auto Style = getDefaultStyle(); TEST_F() local 883 auto Style = getDefaultStyle(); TEST_F() local 968 auto Style = getDefaultStyle(); TEST_F() local 992 auto Style = getDefaultStyle(); TEST_F() local 1077 auto Style = getDefaultStyle(); TEST_F() local 1274 auto Style = getStyleWithColumns(getDefaultStyle(), 24); TEST_F() local 1331 auto Style = getDefaultStyle(); TEST_F() local [all...] |
H A D | IntegerLiteralSeparatorTest.cpp | 21 FormatStyle Style = getLLVMStyle(); in TEST_F() local 89 FormatStyle Style = getLLVMStyle(); in TEST_F() local 138 FormatStyle Style = getLLVMStyle(); in TEST_F() local 173 FormatStyle Style = getLLVMStyle(); in TEST_F() local 210 FormatStyle Style = getLLVMStyle(); in TEST_F() local
|
H A D | FormatTestTextProto.cpp | 129 Style.AlwaysBreakBeforeMultilineStrings = true; in TEST_F() local 21 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TextProto); getDefaultStyle() local 362 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TextProto); TEST_F() local 522 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TextProto); TEST_F() local 547 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TextProto); TEST_F() local 563 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TextProto); TEST_F() local 574 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TextProto); TEST_F() local [all...] |
H A D | FormatTestJava.cpp | 25 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Java); in getStyleWithColumns() local 40 FormatStyle Style = getStyleWithColumns(50); in TEST_F() local 236 FormatStyle Style = getStyleWithColumns(65); in TEST_F() local 415 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Java); in TEST_F() local 565 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Java); in TEST_F() local 596 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Java); in TEST_F() local 622 auto Style = getLLVMStyle(FormatStyle::LK_Java); in TEST_F() local 677 auto Style = getLLVMStyle(FormatStyle::LK_Java); in TEST_F() local 744 auto Style = getLLVMStyle(FormatStyle::LK_Java); in TEST_F() local
|
H A D | BracesInserterTest.cpp | 21 FormatStyle Style = getLLVMStyle(); in TEST_F() local 257 FormatStyle Style = getLLVMStyle(); in TEST_F() local
|
H A D | FormatTestTableGen.cpp | 22 const FormatStyle &Style) { in format() argument 34 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TableGen); in format() local 48 static void verifyFormat(StringRef Code, const FormatStyle &Style) { in verifyFormat() argument 345 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TableGen); TEST_F() local 382 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TableGen); TEST_F() local 424 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TableGen); TEST_F() local 456 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TableGen); TEST_F() local 470 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TableGen); TEST_F() local [all...] |
H A D | FormatTestJS.cpp | 22 const FormatStyle &Style) { in format() argument 38 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) { in format() argument 43 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in getGoogleJSStyleWithColumns() local 50 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) { in verifyFormat() argument 58 verifyFormat(StringRef Expected,StringRef Code,const FormatStyle & Style=getGoogleStyle (FormatStyle::LK_JavaScript)) verifyFormat() argument 263 FormatStyle Style = getGoogleJSStyleWithColumns(80); TEST_F() local 960 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); TEST_F() local 999 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); TEST_F() local 1112 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); TEST_F() local 1169 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); TEST_F() local 1276 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); TEST_F() local 1760 const FormatStyle &Style = getGoogleJSStyleWithColumns(22); TEST_F() local 1857 const FormatStyle &Style = getGoogleJSStyleWithColumns(20); TEST_F() local 1976 FormatStyle Style = getGoogleJSStyleWithColumns(80); TEST_F() local 2730 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); TEST_F() local 2766 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); TEST_F() local 2803 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); TEST_F() local [all...] |
/llvm-project/llvm/lib/Support/ |
H A D | NativeFormatting.cpp | 57 write_unsigned_impl(raw_ostream & S,T N,size_t MinDigits,IntegerStyle Style,bool IsNegative) write_unsigned_impl() argument 80 write_unsigned(raw_ostream & S,T N,size_t MinDigits,IntegerStyle Style,bool IsNegative=false) write_unsigned() argument 91 write_signed(raw_ostream & S,T N,size_t MinDigits,IntegerStyle Style) write_signed() argument 106 write_integer(raw_ostream & S,unsigned int N,size_t MinDigits,IntegerStyle Style) write_integer() argument 111 write_integer(raw_ostream & S,int N,size_t MinDigits,IntegerStyle Style) write_integer() argument 116 write_integer(raw_ostream & S,unsigned long N,size_t MinDigits,IntegerStyle Style) write_integer() argument 121 write_integer(raw_ostream & S,long N,size_t MinDigits,IntegerStyle Style) write_integer() argument 126 write_integer(raw_ostream & S,unsigned long long N,size_t MinDigits,IntegerStyle Style) write_integer() argument 131 write_integer(raw_ostream & S,long long N,size_t MinDigits,IntegerStyle Style) write_integer() argument 135 write_hex(raw_ostream & S,uint64_t N,HexPrintStyle Style,std::optional<size_t> Width) write_hex() argument 165 write_double(raw_ostream & S,double N,FloatStyle Style,std::optional<size_t> Precision) write_double() argument 255 getDefaultPrecision(FloatStyle Style) getDefaultPrecision() argument [all...] |
/llvm-project/mlir/docs/Bindings/ |
H A D | Python.md | 774 ## Style section in MLIR Python Bindings 781 Properties vs get\\*() methodsMLIR Python Bindings""Style global() argument 800 **repr** methodsMLIR Python Bindings""Style global() argument 806 CamelCase vs snake\\_caseMLIR Python Bindings""Style global() argument 815 Prefer pseudo-containersMLIR Python Bindings""Style global() argument 852 Provide one stop helpers for common thingsMLIR Python Bindings""Style global() argument
|
/llvm-project/llvm/include/llvm/Support/ |
H A D | FormatAdapters.h | 39 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format() 53 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format() 68 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format() 81 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format()
|
/llvm-project/clang/lib/Format/ |
H A D | UnwrappedLineFormatter.h | 30 const FormatStyle &Style, in UnwrappedLineFormatter() 66 const FormatStyle &Style; variable
|
/llvm-project/llvm/unittests/Support/ |
H A D | NativeFormatTests.cpp | 19 template <typename T> std::string format_number(T N, IntegerStyle Style) { in format_number() argument 27 format_number(uint64_t N,HexPrintStyle Style,std::optional<size_t> Width=std::nullopt) format_number() argument 36 format_number(double D,FloatStyle Style,std::optional<size_t> Precision=std::nullopt) format_number() argument
|
/llvm-project/clang-tools-extra/clang-tidy/utils/ |
H A D | IncludeSorter.cpp | 29 StringRef makeCanonicalName(StringRef Str, IncludeSorter::IncludeStyle Style) { in makeCanonicalName() 68 bool IsAngled, IncludeSorter::IncludeStyle Style) { in determineIncludeKind() 107 IncludeSorter::IncludeStyle Style) { in compareHeaders() 127 IncludeStyle Style) in IncludeSorter()
|
/llvm-project/clang-tools-extra/clangd/unittests/ |
H A D | FormatTests.cpp | 23 clang::format::FormatStyle Style) { in afterTyped() 40 format::FormatStyle Style = format::getGoogleStyle( in expectAfterNewline() 45 format::FormatStyle Style = in expectAfter()
|