/external/llvm-project/clang/unittests/Format/ |
D | FormatTestComments.cpp | 33 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 …]
|
D | FormatTest.cpp | 35 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 …]
|
D | NamespaceEndCommentsFixerTest.cpp | 25 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()
|
D | CleanupTest.cpp | 27 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();
|
D | UsingDeclarationsSorterTest.cpp | 24 const FormatStyle &Style = getLLVMStyle()) { in sortUsingDeclarations() 36 const FormatStyle &Style = getLLVMStyle()) { in sortUsingDeclarations()
|
D | TokenAnnotatorTest.cpp | 22 const FormatStyle &Style = getLLVMStyle()) { in annotate()
|
D | SortIncludesTest.cpp | 51 FormatStyle FmtStyle = getLLVMStyle(); 130 FmtStyle = getLLVMStyle(); in TEST_F()
|
D | FormatTestRawStrings.cpp | 32 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()
|
D | FormatTestSelective.cpp | 36 FormatStyle Style = getLLVMStyle();
|
D | TestLexer.h | 64 FormatStyle Style = getLLVMStyle())
|
D | FormatTestObjC.cpp | 30 Style = getLLVMStyle(); in FormatTestObjC() 961 Style = getLLVMStyle(); in TEST_F()
|
/external/clang/unittests/Format/ |
D | FormatTest.cpp | 37 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 …]
|
D | SortIncludesTest.cpp | 43 FormatStyle Style = getLLVMStyle();
|
D | CleanupTest.cpp | 25 const FormatStyle &Style = getLLVMStyle()) { in cleanup() 111 FormatStyle Style = getLLVMStyle(); in TEST_F() 288 FormatStyle Style = getLLVMStyle();
|
D | FormatTestSelective.cpp | 37 FormatStyle Style = getLLVMStyle();
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | HeadersTests.cpp | 96 IncludeInserter Inserter(MainFile, /*Code=*/"", format::getLLVMStyle(), 115 IncludeInserter Inserter(MainFile, /*Code=*/"", format::getLLVMStyle(), in insert() 289 IncludeInserter Inserter(MainFile, /*Code=*/"", format::getLLVMStyle(), in TEST()
|
D | HoverTests.cpp | 851 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()
|
D | SourceCodeTests.cpp | 318 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/ |
D | IncludeFixer.h | 80 const format::FormatStyle &Style = format::getLLVMStyle(),
|
/external/clang/include/clang/Format/ |
D | Format.h | 717 FormatStyle getLLVMStyle(); 832 LangOptions getFormattingLangOpts(const FormatStyle &Style = getLLVMStyle());
|
/external/clang/docs/ |
D | LibFormat.rst | 47 FormatStyle getLLVMStyle();
|
/external/llvm-project/clang/unittests/Rename/ |
D | ClangRenameTest.h | 97 format::getLLVMStyle(), Code, {tooling::Range(0, Code.size())}); in format()
|
/external/clang/lib/Format/ |
D | Format.cpp | 487 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/ |
D | LibFormat.rst | 49 FormatStyle getLLVMStyle();
|
/external/llvm-project/clang/lib/Format/ |
D | Format.cpp | 848 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()
|