commit | 4ae998528531ad6719d3503fce1e72e5a4d589b6 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Tue Feb 19 20:53:37 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Tue Feb 19 20:53:37 2008 +0000 |
tree | 7501a2049bb1db1ed018621a5cf1e8cb6b5ca64c | |
parent | 9c0851265658d39541528d3f1b2ce5fc7eb7e683 [diff] [blame] |
Added missing case in constant propagation logic for handling the Xor of two concrete integer values. llvm-svn: 47341
diff --git a/clang/Analysis/ValueManager.cpp b/clang/Analysis/ValueManager.cpp index 61a2154..64f4b27 100644 --- a/clang/Analysis/ValueManager.cpp +++ b/clang/Analysis/ValueManager.cpp
@@ -130,5 +130,8 @@ case BinaryOperator::Or: return getValue( V1 | V2 ); + + case BinaryOperator::Xor: + return getValue( V1 ^ V2 ); } }