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 | 334139f58e3a4a2b784983284c52196c2d55867a (patch) | |
| tree | c838a9c7df7a5351f757258a3bef5e504033d459 /clang | |
| parent | 29a9d00a569e355f8585d1e0e323620e5fc98ac1 (diff) | |
| download | bcm5719-llvm-334139f58e3a4a2b784983284c52196c2d55867a.tar.gz bcm5719-llvm-334139f58e3a4a2b784983284c52196c2d55867a.zip | |
Fixed broken bitmasking in the ctor of ProgramPoint.
llvm-svn: 46081
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/include/clang/Analysis/ProgramPoint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Analysis/ProgramPoint.h b/clang/include/clang/Analysis/ProgramPoint.h index babea74f609..39ce03fd968 100644 --- a/clang/include/clang/Analysis/ProgramPoint.h +++ b/clang/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) {} |

