diff options
Diffstat (limited to 'tools/clang-check/ClangCheck.cpp')
-rw-r--r-- | tools/clang-check/ClangCheck.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/clang-check/ClangCheck.cpp b/tools/clang-check/ClangCheck.cpp index e190c0721afb1..f00e9a3df0ade 100644 --- a/tools/clang-check/ClangCheck.cpp +++ b/tools/clang-check/ClangCheck.cpp @@ -103,7 +103,7 @@ public: } }; -/// \brief Subclasses \c clang::FixItRewriter to not count fixed errors/warnings +/// Subclasses \c clang::FixItRewriter to not count fixed errors/warnings /// in the final error counts. /// /// This has the side-effect that clang-check -fixit exits with code 0 on @@ -120,7 +120,7 @@ public: bool IncludeInDiagnosticCounts() const override { return false; } }; -/// \brief Subclasses \c clang::FixItAction so that we can install the custom +/// Subclasses \c clang::FixItAction so that we can install the custom /// \c FixItRewriter. class FixItAction : public clang::FixItAction { public: @@ -138,7 +138,9 @@ public: if (ASTList) return clang::CreateASTDeclNodeLister(); if (ASTDump) - return clang::CreateASTDumper(ASTDumpFilter, /*DumpDecls=*/true, + return clang::CreateASTDumper(nullptr /*Dump to stdout.*/, + ASTDumpFilter, + /*DumpDecls=*/true, /*Deserialize=*/false, /*DumpLookups=*/false); if (ASTPrint) |