diff options
author | Diego Novillo <dnovillo@google.com> | 2014-03-14 21:58:59 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@google.com> | 2014-03-14 21:58:59 +0000 |
commit | a32aa3251cb5a16757c0c7994392a2da222752fd (patch) | |
tree | 271ff91e9745911893024c9ed6f3ee3b4d9462d5 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | e6f465e51f249d2a1154663834e5ceb26863526c (diff) | |
download | llvm-a32aa3251cb5a16757c0c7994392a2da222752fd.zip llvm-a32aa3251cb5a16757c0c7994392a2da222752fd.tar.gz llvm-a32aa3251cb5a16757c0c7994392a2da222752fd.tar.bz2 |
Use DiagnosticInfo facility.
Summary:
The sample profiler pass emits several error messages. Instead of
just aborting the compiler with report_fatal_error, we can emit
better messages using DiagnosticInfo.
This adds a new sub-class of DiagnosticInfo to handle the sample
profiler.
Reviewers: chandlerc, qcolombet
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D3086
llvm-svn: 203976
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions