]> granicus.if.org Git - clang/commit
Refactor 'TextDiagnostic' to have a parent class 'DiagnosticRenderer' which handles
authorTed Kremenek <kremenek@apple.com>
Sat, 17 Dec 2011 05:26:04 +0000 (05:26 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 17 Dec 2011 05:26:04 +0000 (05:26 +0000)
commit2898d4f7648e6ed5e9047068f1e8ee2f3c2bcd75
treebe41824d2640dc49bab6971470b099cb1a914e37
parent373cb7832090dd5a380be73fdff79881721eed00
Refactor 'TextDiagnostic' to have a parent class 'DiagnosticRenderer' which handles
the policy of how diagnostics are lowered/rendered, while TextDiagnostic handles
the actual pretty-printing.

This is a first part of reworking SerializedDiagnosticPrinter to use the same
inclusion-stack/macro-expansion logic as TextDiagnostic.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146819 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/DiagnosticRenderer.h [new file with mode: 0644]
include/clang/Frontend/TextDiagnostic.h
lib/Frontend/CMakeLists.txt
lib/Frontend/DiagnosticRenderer.cpp [new file with mode: 0644]
lib/Frontend/TextDiagnostic.cpp