]> granicus.if.org Git - clang/commitdiff
Widen this enum bitfield by one bit to prevent sign extension in MSVC
authorReid Kleckner <rnk@google.com>
Tue, 27 Oct 2015 16:24:03 +0000 (16:24 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 27 Oct 2015 16:24:03 +0000 (16:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@251412 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Sema/ScopeInfo.h

index 8f29d7c34c1eb5c57d5828d2ade21da7feb7b367..77801bd44e6f48b2742bb7e4d35a0d26f8612f03 100644 (file)
@@ -89,7 +89,7 @@ protected:
 public:
   /// \brief What kind of scope we are describing.
   ///
-  ScopeKind Kind : 2;
+  ScopeKind Kind : 3;
 
   /// \brief Whether this function contains a VLA, \@try, try, C++
   /// initializer, or anything else that can't be jumped past.