Home
last modified time | relevance | path

Searched refs:getLLVMStyle (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project-15.0.7/clang/unittests/Format/
H A DFormatTestComments.cpp54 FormatStyle Style = getLLVMStyle(); in getLLVMStyleWithColumns()
2866 getLLVMStyle())); in TEST_F()
2871 getLLVMStyle())); in TEST_F()
2876 getLLVMStyle())); in TEST_F()
2883 getLLVMStyle())); in TEST_F()
2888 getLLVMStyle())); in TEST_F()
2893 getLLVMStyle())); in TEST_F()
2898 getLLVMStyle())); in TEST_F()
2903 getLLVMStyle())); in TEST_F()
2908 getLLVMStyle())); in TEST_F()
[all …]
H A DDefinitionBlockSeparatorTest.cpp92 FormatStyle Style = getLLVMStyle(); in TEST_F()
166 FormatStyle Style = getLLVMStyle(); in TEST_F()
180 FormatStyle Style = getLLVMStyle(); in TEST_F()
250 FormatStyle AlwaysStyle = getLLVMStyle(); in TEST_F()
253 FormatStyle NeverStyle = getLLVMStyle(); in TEST_F()
284 FormatStyle Style = getLLVMStyle(); in TEST_F()
341 FormatStyle Style = getLLVMStyle(); in TEST_F()
392 FormatStyle Style = getLLVMStyle(); in TEST_F()
456 FormatStyle Style = getLLVMStyle(); in TEST_F()
482 FormatStyle Style = getLLVMStyle(); in TEST_F()
[all …]
H A DNamespaceEndCommentsFixerTest.cpp390 FormatStyle CompactNamespacesStyle = getLLVMStyle(); in TEST_F()
463 FormatStyle ObjCppStyle = getLLVMStyle(); in TEST_F()
477 FormatStyle Style = getLLVMStyle(); in TEST_F()
688 FormatStyle Style = getLLVMStyle(); in TEST_F()
780 FormatStyle CompactNamespacesStyle = getLLVMStyle(); in TEST_F()
807 FormatStyle Style = getLLVMStyle(); in TEST_F()
940 FormatStyle Style = getLLVMStyle(); in TEST_F()
1315 auto Style = getLLVMStyle(); in TEST_F()
1336 auto const Style = getLLVMStyle(); in TEST_F()
1356 auto Style = getLLVMStyle(); in TEST_F()
[all …]
H A DQualifierFixerTest.cpp197 FormatStyle Style = getLLVMStyle(); in TEST_F()
222 FormatStyle Style = getLLVMStyle(); in TEST_F()
255 FormatStyle Style = getLLVMStyle(); in TEST_F()
415 FormatStyle Style = getLLVMStyle(); in TEST_F()
560 FormatStyle Style = getLLVMStyle(); in TEST_F()
611 FormatStyle Style = getLLVMStyle(); in TEST_F()
629 FormatStyle Style = getLLVMStyle(); in TEST_F()
642 FormatStyle Style = getLLVMStyle(); in TEST_F()
656 FormatStyle Style = getLLVMStyle(); in TEST_F()
678 FormatStyle Style = getLLVMStyle(); in TEST_F()
[all …]
H A DFormatTest.cpp5318 Style = getLLVMStyle(); in TEST_F()
11775 Style = getLLVMStyle(); in TEST_F()
11838 Style = getLLVMStyle(); in TEST_F()
19301 auto Style = getLLVMStyle(); in TEST_F()
19931 Styles[0] = getLLVMStyle(); in TEST_F()
19976 Styles[1] = getLLVMStyle(); in TEST_F()
19982 Styles[1] = getLLVMStyle(); in TEST_F()
19986 Styles[2] = getLLVMStyle(); in TEST_F()
19993 Styles[3] = getLLVMStyle(); in TEST_F()
20000 Styles[4] = getLLVMStyle(); in TEST_F()
[all …]
H A DFormatTestJson.cpp51 const FormatStyle &Style = getLLVMStyle(FormatStyle::LK_Json)) { in format()
56 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Json); in getStyleWithColumns()
68 const FormatStyle &Style = getLLVMStyle(FormatStyle::LK_Json)) { in verifyFormat()
163 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Json); in TEST_F()
200 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Json); in TEST_F()
H A DFormatTestVerilog.cpp35 const FormatStyle &Style = getLLVMStyle(FormatStyle::LK_Verilog)) { in format()
41 const FormatStyle &Style = getLLVMStyle(FormatStyle::LK_Verilog)) { in verifyFormat()
143 auto Style = getLLVMStyle(FormatStyle::LK_Verilog); in TEST_F()
H A DCleanupTest.cpp27 const FormatStyle &Style = getLLVMStyle()) { in cleanup()
38 const FormatStyle &Style = getLLVMStyle()) { in cleanupAroundOffsets()
115 FormatStyle Style = getLLVMStyle(); in TEST_F()
134 FormatStyle Style = getLLVMStyle(); in TEST_F()
363 FormatStyle Style = getLLVMStyle();
H A DUsingDeclarationsSorterTest.cpp24 const FormatStyle &Style = getLLVMStyle()) { in sortUsingDeclarations()
36 const FormatStyle &Style = getLLVMStyle()) { in sortUsingDeclarations()
H A DFormatTestJava.cpp437 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Java); in TEST_F()
608 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Java); in TEST_F()
H A DFormatTestRawStrings.cpp32 const FormatStyle &Style = getLLVMStyle(), in format()
58 return getStyleWithColumns(getLLVMStyle(), ColumnLimit); in getLLVMStyleWithColumns()
64 FormatStyle Style = getLLVMStyle(); in getRawStringPbStyleWithColumns()
79 FormatStyle Style = getLLVMStyle(); in getRawStringLLVMCppStyleBasedOn()
H A DSortIncludesTest.cpp52 FormatStyle FmtStyle = getLLVMStyle();
146 FmtStyle = getLLVMStyle(); in TEST_F()
H A DTestLexer.h62 FormatStyle Style = getLLVMStyle())
H A DFormatTestSelective.cpp36 FormatStyle Style = getLLVMStyle();
H A DFormatTestObjC.cpp29 Style = getLLVMStyle(); in FormatTestObjC()
960 Style = getLLVMStyle(); in TEST_F()
H A DFormatTestCSharp.cpp1540 auto Style = getLLVMStyle(); in TEST_F()
1557 FormatStyle Style = getLLVMStyle(FormatStyle::LK_CSharp); in TEST_F()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DHoverTests.cpp1061 auto H = getHover(AST, T.point(), format::getLLVMStyle(), nullptr); in TEST()
1113 auto H = getHover(AST, T.point(), format::getLLVMStyle(), nullptr); in TEST()
1190 auto H = getHover(AST, T.point(), format::getLLVMStyle(), nullptr); in TEST()
1241 auto H = getHover(AST, T.point(), format::getLLVMStyle(), nullptr); in TEST()
2657 auto H = getHover(AST, P, format::getLLVMStyle(), Index.get()); in TEST()
2682 auto H = getHover(AST, P, format::getLLVMStyle(), nullptr); in TEST()
2699 getHover(AST, P, format::getLLVMStyle(), nullptr); in TEST()
2720 auto H = getHover(AST, P, format::getLLVMStyle(), nullptr); in TEST()
3189 auto H = getHover(AST, T.point(), format::getLLVMStyle(), nullptr); in TEST()
3204 auto H = getHover(AST, T.point(), format::getLLVMStyle(), nullptr); in TEST()
[all …]
H A DHeadersTests.cpp107 IncludeInserter Inserter(MainFile, /*Code=*/"", format::getLLVMStyle(),
126 IncludeInserter Inserter(MainFile, /*Code=*/"", format::getLLVMStyle(), in insert()
340 IncludeInserter Inserter(MainFile, /*Code=*/"", format::getLLVMStyle(), in TEST()
H A DSourceCodeTests.cpp328 auto Style = format::getLLVMStyle(); in TEST()
526 format::getLLVMStyle()))) in TEST()
751 format::getFormattingLangOpts(format::getLLVMStyle())); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/
H A DIncludeFixer.h80 const format::FormatStyle &Style = format::getLLVMStyle(),
/llvm-project-15.0.7/clang/unittests/Rename/
H A DClangRenameTest.h97 format::getLLVMStyle(), Code, {tooling::Range(0, Code.size())}); in format()
/llvm-project-15.0.7/clang/docs/
H A DLibFormat.rst49 FormatStyle getLLVMStyle();
/llvm-project-15.0.7/clang/lib/Format/
H A DFormat.cpp1175 FormatStyle getLLVMStyle(FormatStyle::LanguageKind Language) { in getLLVMStyle() function
1366 FormatStyle GoogleStyle = getLLVMStyle(Language); in getGoogleStyle()
1559 FormatStyle MozillaStyle = getLLVMStyle(); in getMozillaStyle()
1585 FormatStyle Style = getLLVMStyle(); in getWebKitStyle()
1608 FormatStyle Style = getLLVMStyle(); in getGNUStyle()
1623 FormatStyle Style = getLLVMStyle(Language); in getMicrosoftStyle()
1653 FormatStyle NoStyle = getLLVMStyle(); in getNoStyle()
1663 *Style = getLLVMStyle(Language); in getPredefinedStyle()
3499 ObjCHeaderStyleGuesser Guesser(Env, getLLVMStyle()); in guessLanguage()
3531 FormatStyle Style = getLLVMStyle(guessLanguage(FileName, Code)); in getStyle()
/llvm-project-15.0.7/clang/include/clang/Format/
H A DFormat.h4039 FormatStyle getLLVMStyle(
4217 LangOptions getFormattingLangOpts(const FormatStyle &Style = getLLVMStyle());
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DHeaderIncludesTest.cpp44 IncludeStyle Style = format::getLLVMStyle().IncludeStyle;

12