commit | 35abfcd3285ad82fa269b8f2468dee01a4dceb52 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Jan 02 22:26:07 2013 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Jan 02 22:26:07 2013 +0000 |
tree | 7d74707fb1d60ef04ec70d654ac2e39a28d53b19 | |
parent | 28c1f7524ca221fa206d547bea959049e6291093 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171421 91177308-0d34-0410-b5e6-96231b3b80d8