commit | 38ed7e5d7917d18c9c7af9c49c5d83a112c6222a | [log] [tgz] |
---|---|---|
author | Aaron Ballman <aaron@aaronballman.com> | Tue Dec 18 15:54:38 2018 |
committer | Aaron Ballman <aaron@aaronballman.com> | Tue Dec 18 15:54:38 2018 |
tree | 48c69996afcbf9b3386b2b87702f7e821fd223ef | |
parent | 44eff1bd110e830f47e8f8da780bc6e00b95a342 [diff] |
Emit -Wformat properly for bit-field promotions. Only explicitly look through integer and floating-point promotion where the result type is actually a promotion, which is not always the case for bit-fields in C. Patch by Bevin Hansson. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@349497 91177308-0d34-0410-b5e6-96231b3b80d8