diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-01-16 19:11:06 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-01-16 19:11:06 +0000 |
commit | b365b702229999bf90b668bbe4a95bc0d2293d69 (patch) | |
tree | 675394608fafb5a6338cee646111927aaeecf344 /include/clang/Analysis/ProgramPoint.h | |
parent | faa5b48710cc5c4c85df3218e567745b81b0ace4 (diff) |
Fixed broken bitmasking in the ctor of ProgramPoint.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/ProgramPoint.h')
-rw-r--r-- | include/clang/Analysis/ProgramPoint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Analysis/ProgramPoint.h b/include/clang/Analysis/ProgramPoint.h index babea74f60..39ce03fd96 100644 --- a/include/clang/Analysis/ProgramPoint.h +++ b/include/clang/Analysis/ProgramPoint.h @@ -33,7 +33,7 @@ protected: assert ((reinterpret_cast<uintptr_t>(const_cast<void*>(Ptr)) & 0x7) == 0 && "Address must have at least an 8-byte alignment."); - Data = reinterpret_cast<uintptr_t>(const_cast<void*>(Ptr)) & k; + Data = reinterpret_cast<uintptr_t>(const_cast<void*>(Ptr)) | k; } ProgramPoint() : Data(0) {} |