projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b52650d
)
Move DK_Misexpect for compatability with getNextAvailablePluginDiagnosticKind
author
Petr Hosek
<phosek@chromium.org>
Tue, 17 Sep 2019 16:27:36 +0000
(16:27 +0000)
committer
Petr Hosek
<phosek@chromium.org>
Tue, 17 Sep 2019 16:27:36 +0000
(16:27 +0000)
First identified after D66324 landed.
Patch By: paulkirth
Differential Revision: https://reviews.llvm.org/D67648
llvm-svn: 372136
llvm/include/llvm/IR/DiagnosticInfo.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/IR/DiagnosticInfo.h
b/llvm/include/llvm/IR/DiagnosticInfo.h
index
4cabadb
..
ec46998
100644
(file)
--- a/
llvm/include/llvm/IR/DiagnosticInfo.h
+++ b/
llvm/include/llvm/IR/DiagnosticInfo.h
@@
-74,9
+74,10
@@
enum DiagnosticKind {
DK_LastMachineRemark = DK_MachineOptimizationRemarkAnalysis,
DK_MIRParser,
DK_PGOProfile,
+ DK_MisExpect,
DK_Unsupported,
- DK_FirstPluginKind
,
- DK_MisExpect
+ DK_FirstPluginKind
// Must be last value to work with
+ // getNextAvailablePluginDiagnosticKind
};
/// Get the next available kind ID for a plugin diagnostic.