diff options
Diffstat (limited to 'contrib/llvm/lib/Analysis/Lint.cpp')
| -rw-r--r-- | contrib/llvm/lib/Analysis/Lint.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/lib/Analysis/Lint.cpp b/contrib/llvm/lib/Analysis/Lint.cpp index 9713588537b3..ada600a69b87 100644 --- a/contrib/llvm/lib/Analysis/Lint.cpp +++ b/contrib/llvm/lib/Analysis/Lint.cpp @@ -405,7 +405,7 @@ void Lint::visitMemoryReference(Instruction &I,    Assert(!isa<UndefValue>(UnderlyingObject),           "Undefined behavior: Undef pointer dereference", &I);    Assert(!isa<ConstantInt>(UnderlyingObject) || -             !cast<ConstantInt>(UnderlyingObject)->isAllOnesValue(), +             !cast<ConstantInt>(UnderlyingObject)->isMinusOne(),           "Unusual: All-ones pointer dereference", &I);    Assert(!isa<ConstantInt>(UnderlyingObject) ||               !cast<ConstantInt>(UnderlyingObject)->isOne(),  | 
