Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/unittests/Format/
DFormatTestComments.cpp33 const FormatStyle &Style = getLLVMStyle(), in format()
54 FormatStyle Style = getLLVMStyle(); in getLLVMStyleWithColumns()
66 const FormatStyle &Style = getLLVMStyle()) { in verifyFormat()
77 const FormatStyle &Style = getLLVMStyle()) { in verifyNoCrash()
455 FormatStyle NoBinPacking = getLLVMStyle(); in TEST_F()
623 EXPECT_EQ("// whitespace", format("//whitespace", getLLVMStyle())); in TEST_F()
628 EXPECT_EQ("//--But not here", format("//--But not here", getLLVMStyle())); in TEST_F()
2437 FormatStyle NoBinPacking = getLLVMStyle(); in TEST_F()
2846 getLLVMStyle())); in TEST_F()
2851 getLLVMStyle())); in TEST_F()
[all …]
DFormatTest.cpp35 const FormatStyle &Style = getLLVMStyle(), in format()
61 return getStyleWithColumns(getLLVMStyle(), ColumnLimit); in getLLVMStyleWithColumns()
70 const FormatStyle &Style = getLLVMStyle()) { in _verifyFormat()
85 const FormatStyle &Style = getLLVMStyle()) { in _verifyFormat()
90 const FormatStyle &Style = getLLVMStyle()) { in _verifyIncompleteFormat()
98 const FormatStyle &Style = getLLVMStyle()) { in _verifyIndependentOfContext()
106 const FormatStyle &Style = getLLVMStyle()) { in verifyNoCrash()
129 EXPECT_EQ(FormatStyle::LK_Cpp, getLLVMStyle().Language); in TEST_F()
134 getLLVMStyle(FormatStyle::LK_Proto).Language); in TEST_F()
296 getLLVMStyle())); in TEST_F()
[all …]
DNamespaceEndCommentsFixerTest.cpp25 const FormatStyle &Style = getLLVMStyle()) { in fixNamespaceEndComments()
38 const FormatStyle &Style = getLLVMStyle()) { in fixNamespaceEndComments()
226 FormatStyle CompactNamespacesStyle = getLLVMStyle(); in TEST_F()
290 FormatStyle Style = getLLVMStyle(); in TEST_F()
501 FormatStyle Style = getLLVMStyle(); in TEST_F()
593 FormatStyle CompactNamespacesStyle = getLLVMStyle(); in TEST_F()
615 FormatStyle Style = getLLVMStyle(); in TEST_F()
681 FormatStyle CompactNamespacesStyle = getLLVMStyle(); in TEST_F()
748 FormatStyle Style = getLLVMStyle(); in TEST_F()
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();
DUsingDeclarationsSorterTest.cpp24 const FormatStyle &Style = getLLVMStyle()) { in sortUsingDeclarations()
36 const FormatStyle &Style = getLLVMStyle()) { in sortUsingDeclarations()
DTokenAnnotatorTest.cpp22 const FormatStyle &Style = getLLVMStyle()) { in annotate()
DSortIncludesTest.cpp51 FormatStyle FmtStyle = getLLVMStyle();
130 FmtStyle = getLLVMStyle(); in TEST_F()
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()
DFormatTestSelective.cpp36 FormatStyle Style = getLLVMStyle();
DTestLexer.h64 FormatStyle Style = getLLVMStyle())
DFormatTestObjC.cpp30 Style = getLLVMStyle(); in FormatTestObjC()
961 Style = getLLVMStyle(); in TEST_F()
/external/clang/unittests/Format/
DFormatTest.cpp37 const FormatStyle &Style = getLLVMStyle(), in format()
57 FormatStyle Style = getLLVMStyle(); in getLLVMStyleWithColumns()
69 const FormatStyle &Style = getLLVMStyle()) { in verifyFormat()
74 const FormatStyle &Style = getLLVMStyle()) { in verifyIncompleteFormat()
90 const FormatStyle &Style = getLLVMStyle()) { in verifyNoCrash()
223 getLLVMStyle())); in TEST_F()
298 FormatStyle AllowsMergedIf = getLLVMStyle(); in TEST_F()
349 FormatStyle AllowsMergedLoops = getLLVMStyle(); in TEST_F()
372 FormatStyle AllowSimpleBracedStatements = getLLVMStyle(); in TEST_F()
541 FormatStyle NoBinPacking = getLLVMStyle(); in TEST_F()
[all …]
DSortIncludesTest.cpp43 FormatStyle Style = getLLVMStyle();
DCleanupTest.cpp25 const FormatStyle &Style = getLLVMStyle()) { in cleanup()
111 FormatStyle Style = getLLVMStyle(); in TEST_F()
288 FormatStyle Style = getLLVMStyle();
DFormatTestSelective.cpp37 FormatStyle Style = getLLVMStyle();
/external/llvm-project/clang-tools-extra/clangd/unittests/
DHeadersTests.cpp96 IncludeInserter Inserter(MainFile, /*Code=*/"", format::getLLVMStyle(),
115 IncludeInserter Inserter(MainFile, /*Code=*/"", format::getLLVMStyle(), in insert()
289 IncludeInserter Inserter(MainFile, /*Code=*/"", format::getLLVMStyle(), in TEST()
DHoverTests.cpp851 auto H = getHover(AST, T.point(), format::getLLVMStyle(), nullptr); in TEST()
947 auto H = getHover(AST, T.point(), format::getLLVMStyle(), nullptr); in TEST()
1008 auto H = getHover(AST, T.point(), format::getLLVMStyle(), nullptr); in TEST()
2046 auto H = getHover(AST, T.point(), format::getLLVMStyle(), Index.get()); in TEST()
2088 auto H = getHover(AST, P, format::getLLVMStyle(), Index.get()); in TEST()
2113 auto H = getHover(AST, P, format::getLLVMStyle(), nullptr); in TEST()
2137 auto H = getHover(AST, P, format::getLLVMStyle(), nullptr); in TEST()
DSourceCodeTests.cpp318 auto Style = format::getLLVMStyle(); in TEST()
516 format::getLLVMStyle()))) in TEST()
741 format::getFormattingLangOpts(format::getLLVMStyle())); in TEST()
/external/llvm-project/clang-tools-extra/clang-include-fixer/
DIncludeFixer.h80 const format::FormatStyle &Style = format::getLLVMStyle(),
/external/clang/include/clang/Format/
DFormat.h717 FormatStyle getLLVMStyle();
832 LangOptions getFormattingLangOpts(const FormatStyle &Style = getLLVMStyle());
/external/clang/docs/
DLibFormat.rst47 FormatStyle getLLVMStyle();
/external/llvm-project/clang/unittests/Rename/
DClangRenameTest.h97 format::getLLVMStyle(), Code, {tooling::Range(0, Code.size())}); in format()
/external/clang/lib/Format/
DFormat.cpp487 FormatStyle getLLVMStyle() { in getLLVMStyle() function
574 FormatStyle GoogleStyle = getLLVMStyle(); in getGoogleStyle()
649 FormatStyle MozillaStyle = getLLVMStyle(); in getMozillaStyle()
671 FormatStyle Style = getLLVMStyle(); in getWebKitStyle()
691 FormatStyle Style = getLLVMStyle(); in getGNUStyle()
705 FormatStyle NoStyle = getLLVMStyle(); in getNoStyle()
714 *Style = getLLVMStyle(); in getPredefinedStyle()
1700 FormatStyle Style = getLLVMStyle(); in getStyle()
/external/llvm-project/clang/docs/
DLibFormat.rst49 FormatStyle getLLVMStyle();
/external/llvm-project/clang/lib/Format/
DFormat.cpp848 FormatStyle getLLVMStyle(FormatStyle::LanguageKind Language) { in getLLVMStyle() function
1008 FormatStyle GoogleStyle = getLLVMStyle(Language); in getGoogleStyle()
1201 FormatStyle MozillaStyle = getLLVMStyle(); in getMozillaStyle()
1227 FormatStyle Style = getLLVMStyle(); in getWebKitStyle()
1250 FormatStyle Style = getLLVMStyle(); in getGNUStyle()
1265 FormatStyle Style = getLLVMStyle(Language); in getMicrosoftStyle()
1295 FormatStyle NoStyle = getLLVMStyle(); in getNoStyle()
1305 *Style = getLLVMStyle(Language); in getPredefinedStyle()
2833 ObjCHeaderStyleGuesser Guesser(Env, getLLVMStyle()); in guessLanguage()
2853 FormatStyle Style = getLLVMStyle(guessLanguage(FileName, Code)); in getStyle()

12