forked from qt-creator/qt-creator
Clang: Fix aliasing
Task-number: QTCREATORBUG-15888 Change-Id: I0f2e28e9e0da53481c03707ab0a9abf728c7419f Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
|
||||
namespace ClangBackEnd {
|
||||
|
||||
enum class DiagnosticSeverity // one to one mapping of the clang enum numbers
|
||||
enum class DiagnosticSeverity : quint32 // one to one mapping of the clang enum numbers
|
||||
{
|
||||
Ignored = 0,
|
||||
Note = 1,
|
||||
@@ -75,7 +75,7 @@ enum class HighlightingType : quint8
|
||||
Declaration
|
||||
};
|
||||
|
||||
enum class CompletionCorrection
|
||||
enum class CompletionCorrection : quint32
|
||||
{
|
||||
NoCorrection,
|
||||
DotToArrowCorrection
|
||||
|
||||
Reference in New Issue
Block a user