forked from qt-creator/qt-creator
Clang: Fix warning in switch()
clangjobrequest.cpp:176:12: warning: enumeration value ‘RequestToolTip’ not handled in switch [-Wswitch] Change-Id: I09080548ba45ef99bc0c9e08b06d2ea3268b5662 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -178,6 +178,7 @@ bool JobRequest::isTakeOverable() const
|
|||||||
case Type::CompleteCode:
|
case Type::CompleteCode:
|
||||||
case Type::RequestReferences:
|
case Type::RequestReferences:
|
||||||
case Type::FollowSymbol:
|
case Type::FollowSymbol:
|
||||||
|
case Type::RequestToolTip:
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// Discard this one as UpdateDocumentAnnotations will have the same effect.
|
// Discard this one as UpdateDocumentAnnotations will have the same effect.
|
||||||
|
Reference in New Issue
Block a user