1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Move DK_Misexpect for compatability with getNextAvailablePluginDiagnosticKind

First identified after D66324 landed.

Patch By: paulkirth
Differential Revision: https://reviews.llvm.org/D67648

llvm-svn: 372136
This commit is contained in:
Petr Hosek 2019-09-17 16:27:36 +00:00
parent d428cdddb3
commit dfed3b1781

View File

@ -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.