[PATCH] D67648: Move DK_Misexpect for compatability with getNextAvailablePluginDiagnosticKind

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 17 09:26:21 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL372136: Move DK_Misexpect for compatability with getNextAvailablePluginDiagnosticKind (authored by phosek, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D67648?vs=220431&id=220520#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67648/new/

https://reviews.llvm.org/D67648

Files:
  llvm/trunk/include/llvm/IR/DiagnosticInfo.h


Index: llvm/trunk/include/llvm/IR/DiagnosticInfo.h
===================================================================
--- llvm/trunk/include/llvm/IR/DiagnosticInfo.h
+++ llvm/trunk/include/llvm/IR/DiagnosticInfo.h
@@ -74,9 +74,10 @@
   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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67648.220520.patch
Type: text/x-patch
Size: 594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190917/a85e18b5/attachment.bin>


More information about the llvm-commits mailing list