diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2021-02-11 07:11:27 -0500 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2021-02-11 07:11:27 -0500 |
commit | 81bc1365d8f85a125a6db6a5a1acff3ceddcbe9e (patch) | |
tree | 5addb8f484117d0f937a64ef405d5f43f494d8e5 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | e771614bae0a05585f720812d5936a0b81dcddf0 (diff) | |
download | llvm-81bc1365d8f85a125a6db6a5a1acff3ceddcbe9e.zip llvm-81bc1365d8f85a125a6db6a5a1acff3ceddcbe9e.tar.gz llvm-81bc1365d8f85a125a6db6a5a1acff3ceddcbe9e.tar.bz2 |
Correct swift_bridge duplicate attribute warning logic
The swift_bridge attribute warns when the attribute is applied multiple
times to the same declaration. However, it warns about the arguments
being different to the attribute without ever checking if the arguments
actually are different. If the arguments are different, diagnose,
otherwise silently accept the code. Either way, drop the duplicated
attribute.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions