Changed Flags::clang_type_resolve_state to unsigned for gcc

to work around a very noisy gcc warning

llvm-svn: 238283
This commit is contained in:
Vince Harron 2015-05-27 04:54:36 +00:00
parent 847e261e5d
commit 4c7b8c8476
1 changed files with 5 additions and 0 deletions

View File

@ -305,7 +305,12 @@ protected:
ClangASTType m_clang_type;
struct Flags {
#ifdef __GNUC__
// using unsigned type here to work around a very noisy gcc warning
unsigned clang_type_resolve_state : 2;
#else
ResolveState clang_type_resolve_state : 2;
#endif
bool is_complete_objc_class : 1;
} m_flags;