]> granicus.if.org Git - clang/commit
Rework ProgramPoint to bit-mangle the 'Kind' into both Data pointers and the Location...
authorTed Kremenek <kremenek@apple.com>
Tue, 3 Apr 2012 04:25:05 +0000 (04:25 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 3 Apr 2012 04:25:05 +0000 (04:25 +0000)
commitc8443e592dbab65cd06ddea9fad6c6f049a08942
tree95f51de180298cccecd55a886021a7b313d896d8
parente62f048960645b79363408fdead53fec2a063c52
Rework ProgramPoint to bit-mangle the 'Kind' into both Data pointers and the LocationContext.  After switching to PointerIntPair, it didn't look like a safe assumption to use the lower 3 bits of the LocationContext* field.  Thanks to Jordy Rose and Benjamin Kramer for their feedback.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153933 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/ProgramPoint.h