aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2021-02-11 07:11:27 -0500
committerAaron Ballman <aaron@aaronballman.com>2021-02-11 07:11:27 -0500
commit81bc1365d8f85a125a6db6a5a1acff3ceddcbe9e (patch)
tree5addb8f484117d0f937a64ef405d5f43f494d8e5 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parente771614bae0a05585f720812d5936a0b81dcddf0 (diff)
downloadllvm-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