commit | 2898d4f7648e6ed5e9047068f1e8ee2f3c2bcd75 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Sat Dec 17 05:26:04 2011 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Sat Dec 17 05:26:04 2011 +0000 |
tree | be41824d2640dc49bab6971470b099cb1a914e37 | |
parent | 373cb7832090dd5a380be73fdff79881721eed00 [diff] |
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