commit | a4ae9f30ef7bccdaa3feef8036af07fbb91f107c | [log] [tgz] |
---|---|---|
author | Alexander Kornienko <alexfh@google.com> | Mon Jan 14 11:34:14 2013 +0000 |
committer | Alexander Kornienko <alexfh@google.com> | Mon Jan 14 11:34:14 2013 +0000 |
tree | 8ad6c13025dcfb2778c32dfb3ff9772b99e4de2d | |
parent | 1b6f4bd8d7e75e775053b1cb1281c6a127746e93 [diff] |
Custom DiagnosticConsumer parameter of reformat() + silence diagnostics in unit tests. Summary: Added tests for clang-format diagnostics. Added DiagnosticConsumer argument to clang::format::reformat(). Reviewers: klimek, djasper Reviewed By: djasper CC: cfe-commits, thakis, rafael.espindola Differential Revision: http://llvm-reviews.chandlerc.com/D290 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172399 91177308-0d34-0410-b5e6-96231b3b80d8