reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Format/Format.h
 2173 FormatStyle getLLVMStyle(

References

tools/clang/include/clang/Format/Format.h
 2325 LangOptions getFormattingLangOpts(const FormatStyle &Style = getLLVMStyle());
tools/clang/lib/Format/ContinuationIndenter.cpp
  192         PredefinedStyle = getLLVMStyle();
tools/clang/lib/Format/Format.cpp
  843   FormatStyle GoogleStyle = getLLVMStyle(Language);
 1023   FormatStyle MozillaStyle = getLLVMStyle();
 1049   FormatStyle Style = getLLVMStyle();
 1072   FormatStyle Style = getLLVMStyle();
 1087   FormatStyle Style = getLLVMStyle(Language);
 1114   FormatStyle NoStyle = getLLVMStyle();
 1124     *Style = getLLVMStyle(Language);
 2558       ObjCHeaderStyleGuesser Guesser(Env, getLLVMStyle());
 2578   FormatStyle Style = getLLVMStyle(guessLanguage(FileName, Code));
tools/clang/lib/Index/CommentToXML.cpp
  592   format::FormatStyle Style = format::getLLVMStyle();
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp
  125       Code, Context, format::getLLVMStyle(), /*AddQualifiers=*/false);
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.h
   80     const format::FormatStyle &Style = format::getLLVMStyle(),
tools/clang/tools/extra/clangd/SourceCode.cpp
  708     Style = format::getLLVMStyle();
tools/clang/tools/extra/clangd/unittests/HeadersTests.cpp
   92     IncludeInserter Inserter(MainFile, /*Code=*/"", format::getLLVMStyle(),
  111     IncludeInserter Inserter(MainFile, /*Code=*/"", format::getLLVMStyle(),
  269   IncludeInserter Inserter(MainFile, /*Code=*/"", format::getLLVMStyle(),
tools/clang/tools/extra/clangd/unittests/SourceCodeTests.cpp
  371   auto Style = format::getLLVMStyle();
  473               visibleNamespaces(Case.first, format::getLLVMStyle()))
  677                                  format::getLLVMStyle());
tools/clang/tools/extra/clangd/unittests/XRefsTests.cpp
 1015     auto H = getHover(AST, T.point(), format::getLLVMStyle(), nullptr);
 1845             getHover(AST, T.point(), format::getLLVMStyle(), Index.get())) {
tools/clang/tools/extra/unittests/clang-change-namespace/ChangeNamespaceTests.cpp
   55         format::getLLVMStyle(), Code, {tooling::Range(0, Code.size())});
tools/clang/unittests/Format/CleanupTest.cpp
   28                       const FormatStyle &Style = getLLVMStyle()) {
   39                                    const FormatStyle &Style = getLLVMStyle()) {
  116   FormatStyle Style = getLLVMStyle();
  135   FormatStyle Style = getLLVMStyle();
  339   FormatStyle Style = getLLVMStyle();
tools/clang/unittests/Format/FormatTest.cpp
   35                      const FormatStyle &Style = getLLVMStyle(),
   61     return getStyleWithColumns(getLLVMStyle(), ColumnLimit);
   69                     const FormatStyle &Style = getLLVMStyle()) {
   83                     const FormatStyle &Style = getLLVMStyle()) {
   88                               const FormatStyle &Style = getLLVMStyle()) {
  104                      const FormatStyle &Style = getLLVMStyle()) {
  120   EXPECT_EQ(FormatStyle::LK_Cpp, getLLVMStyle().Language);
  125             getLLVMStyle(FormatStyle::LK_Proto).Language);
  284                    getLLVMStyle()));
  322   FormatStyle LLVMWithNoNamespaceFix = getLLVMStyle();
  373   FormatStyle Style = getLLVMStyle();
  452   FormatStyle AllowsMergedIf = getLLVMStyle();
  504   FormatStyle AllowsMergedIf = getLLVMStyle();
  539   FormatStyle AllowsMergedLoops = getLLVMStyle();
  562   FormatStyle AllowSimpleBracedStatements = getLLVMStyle();
  910   FormatStyle NoBinPacking = getLLVMStyle();
  927   FormatStyle AlignLeft = getLLVMStyle();
 1136                    getLLVMStyle()));
 1154                    getLLVMStyle()));
 1167   FormatStyle Style = getLLVMStyle();
 1226   FormatStyle Style = getLLVMStyle();
 1419   FormatStyle Style = getLLVMStyle();
 1446   FormatStyle Style = getLLVMStyle();
 1730   FormatStyle StyleWithInheritanceBreakBeforeComma = getLLVMStyle();
 1748   FormatStyle StyleWithInheritanceBreakAfterColon = getLLVMStyle();
 1898   FormatStyle Style = getLLVMStyle();
 1983   FormatStyle LLVMWithNoNamespaceFix = getLLVMStyle();
 2076   FormatStyle Style = getLLVMStyle();
 2109   FormatStyle Style = getLLVMStyle();
 2216   FormatStyle Style = getLLVMStyle();
 2364   FormatStyle Style = getLLVMStyle();
 2493   FormatStyle Style = getLLVMStyle();
 2802   EXPECT_EQ("#define A(c) L#c", format("#define A(c) L#c", getLLVMStyle()));
 2825   FormatStyle Style = getLLVMStyle();
 3067   FormatStyle Style = getLLVMStyle();
 3102   Style = getLLVMStyle();
 3150   FormatStyle Style = getLLVMStyle();
 3540   FormatStyle AlignLeft = getLLVMStyle();
 3565   FormatStyle DontAlign = getLLVMStyle();
 3696   FormatStyle SingleLine = getLLVMStyle();
 3863   FormatStyle Style = getLLVMStyle();
 3871   FormatStyle Style = getLLVMStyle();
 4010   FormatStyle OnePerLine = getLLVMStyle();
 4080   FormatStyle Style = getLLVMStyle();
 4171   FormatStyle Style = getLLVMStyle();
 4207   FormatStyle Style = getLLVMStyle();
 4216   FormatStyle Style = getLLVMStyle();
 4328   FormatStyle OnePerLine = getLLVMStyle();
 4379   FormatStyle Style = getLLVMStyle();
 4512   FormatStyle Style = getLLVMStyle();
 4564   FormatStyle Style = getLLVMStyle();
 4818   FormatStyle OnePerLine = getLLVMStyle();
 4935   FormatStyle Style = getLLVMStyle();
 5511   FormatStyle Style = getLLVMStyle();
 5574   FormatStyle Style = getLLVMStyle();
 5756   FormatStyle NoBinPacking = getLLVMStyle();
 5804   FormatStyle Style = getLLVMStyle();
 6009   FormatStyle Style = getLLVMStyle();
 6199   FormatStyle NoBreak = getLLVMStyle();
 6201   FormatStyle Break = getLLVMStyle();
 6513   FormatStyle NoBinPacking = getLLVMStyle();
 6602   FormatStyle AlwaysBreak = getLLVMStyle();
 6622   FormatStyle NeverBreak = getLLVMStyle();
 6704   FormatStyle Style = getLLVMStyle();
 6812   FormatStyle Style = getLLVMStyle();
 6885   FormatStyle Style = getLLVMStyle();
 7006   FormatStyle AlignLeft = getLLVMStyle();
 7021   FormatStyle Spaces = getLLVMStyle();
 7036   FormatStyle BreakTemplate = getLLVMStyle();
 7069   FormatStyle AlignLeftBreakTemplate = getLLVMStyle();
 7246   FormatStyle Left = getLLVMStyle();
 7367   FormatStyle PointerMiddle = getLLVMStyle();
 7397   FormatStyle AfterType = getLLVMStyle();
 7429   FormatStyle MultiLineFunctions = getLLVMStyle();
 7442   FormatStyle PointersLeft = getLLVMStyle();
 7702   FormatStyle Indented = getLLVMStyle();
 7774                getLLVMStyle());
 7854   FormatStyle Style = getLLVMStyle();
 7869   FormatStyle NoBinPacking = getLLVMStyle();
 8066   FormatStyle AvoidBreakingFirstArgument = getLLVMStyle();
 8100   FormatStyle NoBinPacking = getLLVMStyle();
 8185   FormatStyle ExtraSpaces = getLLVMStyle();
 8257   FormatStyle SpaceBeforeBrace = getLLVMStyle();
 8262   FormatStyle SpaceBetweenBraces = getLLVMStyle();
 8447   FormatStyle DoNotMerge = getLLVMStyle();
 8493   FormatStyle NoColumnLimit = getLLVMStyle();
 8538   FormatStyle MergeEmptyOnly = getLLVMStyle();
 8567   FormatStyle MergeInlineOnly = getLLVMStyle();
 8607   FormatStyle MergeInlineOnly = getLLVMStyle();
 8653   FormatStyle Style = getLLVMStyle();
 8720   FormatStyle Style = getLLVMStyle();
 8731   FormatStyle Style = getLLVMStyle();
 8757   FormatStyle Style = getLLVMStyle();
 8784   FormatStyle Style = getLLVMStyle();
 8807   FormatStyle Style = getLLVMStyle();
 8835   FormatStyle Style = getLLVMStyle();
 9096                    getLLVMStyle(), SC_ExpectIncomplete));
 9139   FormatStyle Style = getLLVMStyle();
 9587   FormatStyle Style = getLLVMStyle();
 9594   FormatStyle Style = getLLVMStyle();
10272                    getLLVMStyle()));
10279                    getLLVMStyle()));
10288                    getLLVMStyle()));
10295                    getLLVMStyle()));
10299   FormatStyle NoSpace = getLLVMStyle();
10335   FormatStyle Space = getLLVMStyle();
10384   FormatStyle SomeSpace = getLLVMStyle();
10439   FormatStyle Spaces = getLLVMStyle();
10450   FormatStyle Spaces = getLLVMStyle();
10560   FormatStyle Spaces = getLLVMStyle();
10582   FormatStyle Spaces = getLLVMStyle();
10683   FormatStyle ForLoopStyle = getLLVMStyle();
10700   FormatStyle NoSpaceStyle = getLLVMStyle();
10721   FormatStyle Style = getLLVMStyle();
10816   FormatStyle Alignment = getLLVMStyle();
11006   FormatStyle Alignment = getLLVMStyle();
11351   FormatStyle LinuxBraceStyle = getLLVMStyle();
11392   FormatStyle MozillaBraceStyle = getLLVMStyle();
11437   FormatStyle StroustrupBraceStyle = getLLVMStyle();
11499   FormatStyle AllmanBraceStyle = getLLVMStyle();
11735   FormatStyle WhitesmithsBraceStyle = getLLVMStyle();
11982   FormatStyle GNUBraceStyle = getLLVMStyle();
12106   FormatStyle WebKitBraceStyle = getLLVMStyle();
12150                getLLVMStyle());
12170   FormatStyle Style = getLLVMStyle();
12304   Styles[0] = getLLVMStyle();
12349   Styles[1] = getLLVMStyle();
12355   Styles[1] = getLLVMStyle();
12359   Styles[2] = getLLVMStyle();
12366   Styles[3] = getLLVMStyle();
12373   Styles[4] = getLLVMStyle();
12649   FormatStyle BaseStyle = getLLVMStyle();
12944   FormatStyle Style = getLLVMStyle();
13079   FormatStyle Style = getLLVMStyle();
13120   FormatStyle Style = getLLVMStyle();
13719   FormatStyle DoNotMerge = getLLVMStyle();
13729   FormatStyle MergeEmptyOnly = getLLVMStyle();
13743   FormatStyle MergeInline = getLLVMStyle();
13769   FormatStyle ShortBlocks = getLLVMStyle();
13863   FormatStyle FourIndent = getLLVMStyle();
13872   FormatStyle ZeroColumn = getLLVMStyle();
13945                    getLLVMStyle()));
13952                    getLLVMStyle()));
13959                    getLLVMStyle()));
14016   FormatStyle Style = getLLVMStyle();
14032   FormatStyle Spaces = getLLVMStyle();
14060   FormatStyle Style = getLLVMStyle();
14242   FormatStyle Style = getLLVMStyle();
14251   FormatStyle Spaces = getLLVMStyle();
14261   FormatStyle Spaces = getLLVMStyle();
14286   ASSERT_EQ(*Style1, getLLVMStyle());
14306   ASSERT_EQ(*Style2, getLLVMStyle());
14311   ASSERT_EQ(*Style2, getLLVMStyle());
14352   ASSERT_EQ(*StyleTd, getLLVMStyle(FormatStyle::LK_TableGen));
14379   format::FormatStyle Style = format::getLLVMStyle();
14408   format::FormatStyle Style = format::getLLVMStyle();
14427   format::FormatStyle Style = format::getLLVMStyle();
14473   FormatStyle PointerMiddle = getLLVMStyle();
14476   verifyFormat("auto [a2, b]{A * i};", getLLVMStyle());
14479   verifyFormat("auto const [a2, b]{A * i};", getLLVMStyle());
14482   verifyFormat("auto const &[a2, b]{A * i};", getLLVMStyle());
14485   verifyFormat("auto const &&[a2, b]{A * i};", getLLVMStyle());
14507   format::FormatStyle Spaces = format::getLLVMStyle();
14656   FormatStyle Macros = getLLVMStyle();
14676   FormatStyle AlignStyle = getLLVMStyle();
tools/clang/unittests/Format/FormatTestComments.cpp
   38                      const FormatStyle &Style = getLLVMStyle(),
   59     FormatStyle Style = getLLVMStyle();
   71                     const FormatStyle &Style = getLLVMStyle()) {
   82                      const FormatStyle &Style = getLLVMStyle()) {
  460   FormatStyle NoBinPacking = getLLVMStyle();
  628   EXPECT_EQ("// whitespace", format("//whitespace", getLLVMStyle()));
  633   EXPECT_EQ("//--But not here", format("//--But not here", getLLVMStyle()));
 2425   FormatStyle NoBinPacking = getLLVMStyle();
 2794                    "*/", getLLVMStyle()));
 2798                    " */", getLLVMStyle()));
 2802                    "  */", getLLVMStyle()));
 2809                    getLLVMStyle()));
 2814                    getLLVMStyle()));
 2819                    getLLVMStyle()));
 2824                    getLLVMStyle()));
 2829                    getLLVMStyle()));
 2834                    getLLVMStyle()));
 2839                    getLLVMStyle()));
 2844                    getLLVMStyle()));
 2849                    getLLVMStyle()));
 2857                    "*/", getLLVMStyle()));
 2863                    "  */", getLLVMStyle()));
 2869                    "  */", getLLVMStyle()));
 2876                    getLLVMStyle()));
 2881                    getLLVMStyle()));
 2886                    getLLVMStyle()));
 2891                    getLLVMStyle()));
 2896                    getLLVMStyle()));
 2901                    getLLVMStyle()));
 2906                    getLLVMStyle()));
 2911                    getLLVMStyle()));
 2920                    getLLVMStyle()));
 2927                    getLLVMStyle()));
 2936                    getLLVMStyle()));
 2950                    "*/", getLLVMStyle()));
 2962                    "*/", getLLVMStyle()));
tools/clang/unittests/Format/FormatTestObjC.cpp
   30     Style = getLLVMStyle();
  940   Style = getLLVMStyle();
tools/clang/unittests/Format/FormatTestRawStrings.cpp
   33                      const FormatStyle &Style = getLLVMStyle(),
   59     return getStyleWithColumns(getLLVMStyle(), ColumnLimit);
   65     FormatStyle Style = getLLVMStyle();
   80     FormatStyle Style = getLLVMStyle();
tools/clang/unittests/Format/FormatTestSelective.cpp
   36   FormatStyle Style = getLLVMStyle();
tools/clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp
   26                           const FormatStyle &Style = getLLVMStyle()) {
   39                           const FormatStyle &Style = getLLVMStyle()) {
  227   FormatStyle CompactNamespacesStyle = getLLVMStyle();
  291   FormatStyle Style = getLLVMStyle();
  503   FormatStyle Style = getLLVMStyle();
  595   FormatStyle CompactNamespacesStyle = getLLVMStyle();
  617   FormatStyle Style = getLLVMStyle();
  683   FormatStyle CompactNamespacesStyle = getLLVMStyle();
  750   FormatStyle Style = getLLVMStyle();
tools/clang/unittests/Format/SortIncludesTest.cpp
   52   FormatStyle FmtStyle = getLLVMStyle();
  131   FmtStyle = getLLVMStyle();
tools/clang/unittests/Format/UsingDeclarationsSorterTest.cpp
   24                                     const FormatStyle &Style = getLLVMStyle()) {
   36                                     const FormatStyle &Style = getLLVMStyle()) {
tools/clang/unittests/Rename/ClangRenameTest.h
   97         format::getLLVMStyle(), Code, {tooling::Range(0, Code.size())});
tools/clang/unittests/Tooling/HeaderIncludesTest.cpp
   44   IncludeStyle Style = format::getLLVMStyle().IncludeStyle;
tools/clang/unittests/Tooling/RefactoringTest.cpp
 1303     Spec.Style = format::getLLVMStyle();
tools/clang/unittests/Tooling/TransformerTest.cpp
   53   auto Style = format::getLLVMStyle();