ProgramPoint getLocation() const { return Location; }
const LocationContext *getLocationContext() const {
- return getLocation().getContext();
+ return getLocation().getLocationContext();
}
const GRState* getState() const {
public:
Kind getKind() const { return K; }
- const LocationContext *getContext() const { return L; }
+ const LocationContext *getLocationContext() const { return L; }
// For use with DenseMap. This hash is probably slow.
unsigned getHashValue() const {
const Stmt *S = NULL;
if (BlockEntrance* BE = dyn_cast<BlockEntrance>(&ProgP)) {
- CFGBlock &Exit = ProgP.getContext()->getCFG()->getExit();
+ CFGBlock &Exit = ProgP.getLocationContext()->getCFG()->getExit();
if (BE->getBlock() == &Exit)
S = GetPreviousStmt(EndNode);
}