diff options
-rw-r--r-- | include/clang/Analysis/PathSensitive/MemRegion.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Analysis/PathSensitive/MemRegion.h b/include/clang/Analysis/PathSensitive/MemRegion.h index 053ad44053..bfd931fb6c 100644 --- a/include/clang/Analysis/PathSensitive/MemRegion.h +++ b/include/clang/Analysis/PathSensitive/MemRegion.h @@ -420,7 +420,7 @@ public: MemSpaceRegion* getUnknownRegion(); bool isGlobalsRegion(const MemRegion* R) { - assert(R && globals); + assert(R); return R == globals; } |