diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-01-02 22:26:07 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-01-02 22:26:07 +0000 |
commit | f86e8cced6b381a631a37a0c0e1191879a7460bd (patch) | |
tree | 10f1a9246f3416f592b2849eca75ba50e300911d /llvm/lib/IR/Attributes.cpp | |
parent | 567f886eb030a1efa6d7a87194e504a9f4b39462 (diff) | |
download | bcm5719-llvm-f86e8cced6b381a631a37a0c0e1191879a7460bd.tar.gz bcm5719-llvm-f86e8cced6b381a631a37a0c0e1191879a7460bd.zip |
DiagnosticIds: Fix offset/ID calculation, no impact outside this code.
Patch by Will Dietz:
Minor touchup so the values of Offset/ID reflect their intention.
Previously, the sum (Offset+ID) was correct, but Offset/ID
individually were wrong.
Caught by investigating unsigned overflow reported by -fsanitize=integer.
llvm-svn: 171421
Diffstat (limited to 'llvm/lib/IR/Attributes.cpp')
0 files changed, 0 insertions, 0 deletions