Home
last modified time | relevance | path

Searched refs:getGoogleStyle (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Format/
H A DFormatTestCSharp.cpp76 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); in TEST_F()
174 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); in TEST_F()
180 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); in TEST_F()
345 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); in TEST_F()
353 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); in TEST_F()
422 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); in TEST_F()
435 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); in TEST_F()
528 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); in TEST_F()
563 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); in TEST_F()
572 FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp); in TEST_F()
[all …]
H A DFormatTestTextProto.cpp45 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TextProto); in _verifyFormat()
155 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TextProto); in TEST_F()
388 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TextProto); in TEST_F()
548 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TextProto); in TEST_F()
573 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TextProto); in TEST_F()
589 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TextProto); in TEST_F()
600 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TextProto); in TEST_F()
H A DFormatTestObjC.cpp403 Style = getGoogleStyle(FormatStyle::LK_ObjC); in TEST_F()
501 Style = getGoogleStyle(FormatStyle::LK_ObjC); in TEST_F()
557 Style = getGoogleStyle(FormatStyle::LK_ObjC); in TEST_F()
604 Style = getGoogleStyle(FormatStyle::LK_ObjC); in TEST_F()
627 Style = getGoogleStyle(FormatStyle::LK_ObjC); in TEST_F()
1083 Style = getGoogleStyle(FormatStyle::LK_ObjC); in TEST_F()
1282 Style = getGoogleStyle(FormatStyle::LK_ObjC); in TEST_F()
1371 Style = getGoogleStyle(FormatStyle::LK_ObjC); in TEST_F()
1443 Style = getGoogleStyle(FormatStyle::LK_ObjC); in TEST_F()
1511 Style = getGoogleStyle(FormatStyle::LK_ObjC); in TEST_F()
H A DFormatTestJS.cpp38 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) { in format()
43 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in getGoogleJSStyleWithColumns()
50 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) { in verifyFormat()
963 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
1002 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
1115 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
1172 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
1279 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
2713 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
2749 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
[all …]
H A DFormatTestJava.cpp35 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_Java)) { in format()
40 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Java); in getStyleWithColumns()
47 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_Java)) { in verifyFormat()
H A DFormatTest.cpp28 FormatStyle getGoogleStyle() { return getGoogleStyle(FormatStyle::LK_Cpp); } in getGoogleStyle() function
218 getGoogleStyle())); in TEST_F()
7331 getGoogleStyle()); in TEST_F()
7337 getGoogleStyle()); in TEST_F()
7344 getGoogleStyle()); in TEST_F()
7360 getGoogleStyle()); in TEST_F()
9979 getGoogleStyle()); in TEST_F()
19936 Styles[0] = getGoogleStyle(); in TEST_F()
19975 Styles[0] = getGoogleStyle(); in TEST_F()
21649 auto Style = getGoogleStyle(); in TEST_F()
[all …]
H A DFormatTestProto.cpp34 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Proto); in format()
512 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TextProto); in TEST_F()
H A DFormatTestComments.cpp26 FormatStyle getGoogleStyle() { return getGoogleStyle(FormatStyle::LK_Cpp); } in getGoogleStyle() function
60 FormatStyle Style = getGoogleStyle(FormatStyle::FormatStyle::LK_TextProto); in getTextProtoStyleWithColumns()
72 verifyFormat(Code, getGoogleStyle()); in verifyGoogleFormat()
3193 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Java); in TEST_F()
3195 FormatStyle Style20 = getGoogleStyle(FormatStyle::LK_Java); in TEST_F()
3272 FormatStyle JSStyle20 = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
H A DSortIncludesTest.cpp174 FmtStyle = getGoogleStyle(FormatStyle::LK_Cpp); in TEST_F()
421 FmtStyle = getGoogleStyle(FormatStyle::LK_Cpp); in TEST_F()
981 FmtStyle = getGoogleStyle(FormatStyle::LK_ObjC); in TEST_F()
H A DFormatTestTableGen.cpp34 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TableGen); in format()
H A DCleanupTest.cpp201 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
428 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp); in TEST_F()
465 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp); in TEST_F()
H A DSortImportsTestJS.cpp46 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript);
H A DSortImportsTestJava.cpp33 FmtStyle = getGoogleStyle(FormatStyle::LK_Java); in SortImportsTestJava()
H A DFormatTestSelective.cpp588 Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
H A DFormatTestRawStrings.cpp93 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Cpp); in getRawStringGoogleCppStyleBasedOn()
139 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Cpp); in TEST_F()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DFormatTests.cpp40 format::FormatStyle Style = format::getGoogleStyle( in expectAfterNewline()
46 format::getGoogleStyle(format::FormatStyle::LK_Cpp)) { in expectAfter()
147 format::getGoogleStyle(format::FormatStyle::LK_Cpp); in TEST()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DHeaderIncludesTest.cpp111 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp) in TEST_F()
144 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp) in TEST_F()
225 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp) in TEST_F()
515 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp) in TEST_F()
/llvm-project-15.0.7/clang/tools/clang-format/fuzzer/
H A DClangFormatFuzzer.cpp20 auto Style = getGoogleStyle(clang::format::FormatStyle::LK_Cpp); in LLVMFuzzerTestOneInput()
/llvm-project-15.0.7/clang/docs/
H A DLibFormat.rst53 FormatStyle getGoogleStyle();
/llvm-project-15.0.7/clang/include/clang/Format/
H A DFormat.h4046 FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language);
/llvm-project-15.0.7/clang/lib/Format/
H A DFormat.cpp1358 FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) { in getGoogleStyle() function
1360 FormatStyle GoogleStyle = getGoogleStyle(FormatStyle::LK_Proto); in getGoogleStyle()
1499 FormatStyle ChromiumStyle = getGoogleStyle(Language); in getChromiumStyle()
1669 *Style = getGoogleStyle(Language); in getPredefinedStyle()