forked from qt-creator/qt-creator
Clang: Check consistently for clang 7.0
Change-Id: I8abccb7ce2bd73ce4c991b2a5062f459513ea624 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -37,7 +37,7 @@ enum class PreferredTranslationUnit
|
|||||||
};
|
};
|
||||||
|
|
||||||
// CLANG-UPGRADE-CHECK: Remove IS_PRETTY_DECL_SUPPORTED once we require clang >= 7.0
|
// CLANG-UPGRADE-CHECK: Remove IS_PRETTY_DECL_SUPPORTED once we require clang >= 7.0
|
||||||
#if defined(CINDEX_VERSION_HAS_PRETTYDECL_BACKPORTED) || CINDEX_VERSION_MINOR >= 47
|
#if defined(CINDEX_VERSION_HAS_PRETTYDECL_BACKPORTED) || CINDEX_VERSION_MINOR >= 46
|
||||||
# define IS_PRETTY_DECL_SUPPORTED
|
# define IS_PRETTY_DECL_SUPPORTED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user