summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/FileManager.cpp
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 /clang/lib/Basic/FileManager.cpp
parent6f6d012e32e8336c6d8668000c2855c08ac8bd8e (diff)
downloadbcm5719-llvm-5c527f9963cb31bef117a7421c4480b2a59a7ce2.tar.gz
bcm5719-llvm-5c527f9963cb31bef117a7421c4480b2a59a7ce2.zip
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 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud