aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/regex_impl.h
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2016-06-03 18:51:48 +0000
committerMichael Kruse <llvm@meinersbur.de>2016-06-03 18:51:48 +0000
commit5c527f9963cb31bef117a7421c4480b2a59a7ce2 (patch)
tree4d4d94d649b313b094a0b9fc738d8991e9d07749 /llvm/lib/Support/regex_impl.h
parent6f6d012e32e8336c6d8668000c2855c08ac8bd8e (diff)
downloadllvm-5c527f9963cb31bef117a7421c4480b2a59a7ce2.zip
llvm-5c527f9963cb31bef117a7421c4480b2a59a7ce2.tar.gz
llvm-5c527f9963cb31bef117a7421c4480b2a59a7ce2.tar.bz2
Fix modulo compared to zero.
In case of modulo compared to zero, we need to do signed modulo operation as unsigned can give different results based on whether the dividend is negative or not. This addresses llvm.org/PR27707 Contributed-by: Chris Jenneisch <chrisj@codeaurora.org> Reviewers: _jdoerfert, grosser, Meinersbur Differential Revision: http://reviews.llvm.org/D20145 llvm-svn: 271707
Diffstat (limited to 'llvm/lib/Support/regex_impl.h')
0 files changed, 0 insertions, 0 deletions