diff options
author | Tobias Grosser <tobias@grosser.es> | 2014-02-28 09:08:45 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2014-02-28 09:08:45 +0000 |
commit | 72c42d93416b9aac1750389a862d569948612c53 (patch) | |
tree | 620cc611df5afff4a8e429757c3af81c40e1f412 /lib/LTO/LTOCodeGenerator.cpp | |
parent | 6e2a50ea0a774465c768e6e465c3c30358df6331 (diff) | |
download | llvm-72c42d93416b9aac1750389a862d569948612c53.tar.gz llvm-72c42d93416b9aac1750389a862d569948612c53.tar.bz2 llvm-72c42d93416b9aac1750389a862d569948612c53.tar.xz |
Add 'remark' diagnostic type in LLVM
A 'remark' is information that is not an error or a warning, but rather some
additional information provided to the user. In contrast to a 'note' a 'remark'
is an independent diagnostic, whereas a 'note' always depends on another
diagnostic.
A typical use case for remark nodes is information provided to the user, e.g.
information provided by the vectorizer about loops that have been vectorized.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/LTO/LTOCodeGenerator.cpp')
-rw-r--r-- | lib/LTO/LTOCodeGenerator.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/LTO/LTOCodeGenerator.cpp b/lib/LTO/LTOCodeGenerator.cpp index c5f98736c0..777db9c912 100644 --- a/lib/LTO/LTOCodeGenerator.cpp +++ b/lib/LTO/LTOCodeGenerator.cpp @@ -562,6 +562,9 @@ void LTOCodeGenerator::DiagnosticHandler2(const DiagnosticInfo &DI) { case DS_Warning: Severity = LTO_DS_WARNING; break; + case DS_Remark: + Severity = LTO_DS_REMARK; + break; case DS_Note: Severity = LTO_DS_NOTE; break; |