commit | d651141308a777d60ff98309d21e045bb936f8b7 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Mon Nov 16 20:06:54 2009 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Mon Nov 16 20:06:54 2009 +0000 |
tree | 615193644b9cbaddf6390b8c101554b2acc24059 | |
parent | ab7ae95c46f288ac52974aa60334a9575f9a850c [diff] |
Fix condition in LocationCheck::classof(). Thanks to Marius Wachtler for pointing this out! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88949 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/clang/Analysis/ProgramPoint.h b/include/clang/Analysis/ProgramPoint.h index 75ae83f..78827df 100644 --- a/include/clang/Analysis/ProgramPoint.h +++ b/include/clang/Analysis/ProgramPoint.h
@@ -221,7 +221,7 @@ static bool classof(const ProgramPoint *location) { unsigned k = location->getKind(); - return k == PreLoadKind || PreStoreKind; + return k == PreLoadKind || k == PreStoreKind; } };