Fix condition in LocationCheck::classof(). Thanks to Marius Wachtler for pointing this out!

llvm-svn: 88949
This commit is contained in:
Ted Kremenek 2009-11-16 20:06:54 +00:00
parent 9b32e22ad1
commit 9dc2d26fdc
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ protected:
static bool classof(const ProgramPoint *location) {
unsigned k = location->getKind();
return k == PreLoadKind || PreStoreKind;
return k == PreLoadKind || k == PreStoreKind;
}
};