From: Francois Pichet Date: Mon, 6 Jun 2011 02:57:59 +0000 (+0000) Subject: ok now, let's fix that MSVC warning for real. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7299a4ef4d75901012e006f463d789447976a21b;p=clang 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 --- 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())); } };