]> granicus.if.org Git - clang/commit
Add support for raw_ostream on the printing methods of Diagnostics.
authorSamuel Benzaquen <sbenza@google.com>
Fri, 19 Jul 2013 20:02:35 +0000 (20:02 +0000)
committerSamuel Benzaquen <sbenza@google.com>
Fri, 19 Jul 2013 20:02:35 +0000 (20:02 +0000)
commit2f5a23103f691b1bf7522494fabeaa8f7bd7122b
tree63da6420f1f1151d1cc2b090b2082e18a2432983
parent5b92696c8f1f8ef943ad87397b95c031b5787305
Add support for raw_ostream on the printing methods of Diagnostics.

Summary:
Add printToStream*(llvm::raw_ostream&) methods to Diagnostics, and reimplement everything based on streams instead of concatenating strings.
Also, fix some functions to start with lowercase to match the style guide.

Reviewers: klimek

CC: cfe-commits, revane
Differential Revision: http://llvm-reviews.chandlerc.com/D1187

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186715 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/ASTMatchers/Dynamic/Diagnostics.h
lib/ASTMatchers/Dynamic/Diagnostics.cpp
unittests/ASTMatchers/Dynamic/ParserTest.cpp
unittests/ASTMatchers/Dynamic/RegistryTest.cpp