diff options
author | Francois Pichet <pichet2000@gmail.com> | 2011-06-06 02:57:59 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2011-06-06 02:57:59 +0000 |
commit | 7299a4ef4d75901012e006f463d789447976a21b (patch) | |
tree | 659cdf407fa4960eaf263bbdf87e91bd2aa57372 | |
parent | c9f487a8aa73376b8cbee364663b50956fc641a2 (diff) |
ok now, let's fix that MSVC warning for real.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132675 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Sema/Sema.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Sema/Sema.h b/include/clang/Sema/Sema.h index 87379d73eb..ee2bc39ea4 100644 --- a/include/clang/Sema/Sema.h +++ b/include/clang/Sema/Sema.h @@ -630,7 +630,7 @@ public: bool hasConstParamMatch() const { return Pair.getInt() & 0x2; } void setConstParamMatch(bool B) { - Pair.setInt(unsigned(B) << 1 | hasSuccess()); + Pair.setInt(B << 1 | unsigned(hasSuccess())); } }; |