aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/Sema/Sema.h2
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()));
}
};