diff options
Diffstat (limited to 'include/clang/Analysis/ProgramPoint.h')
-rw-r--r-- | include/clang/Analysis/ProgramPoint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Analysis/ProgramPoint.h b/include/clang/Analysis/ProgramPoint.h index 75ae83f0a6..78827dfabe 100644 --- a/include/clang/Analysis/ProgramPoint.h +++ b/include/clang/Analysis/ProgramPoint.h @@ -221,7 +221,7 @@ protected: static bool classof(const ProgramPoint *location) { unsigned k = location->getKind(); - return k == PreLoadKind || PreStoreKind; + return k == PreLoadKind || k == PreStoreKind; } }; |