summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-12-06 21:44:41 +0000
committerReid Kleckner <rnk@google.com>2016-12-06 21:44:41 +0000
commitb792e0694b678e08832d5cfcb52d800c6f1a01aa (patch)
tree1eb0ef046e6b1006d07a41e632201628ab208322 /llvm/lib/Transforms
parent00cfa747156c8a7bb25be3e6a85272a61b0b15ca (diff)
downloadbcm5719-llvm-b792e0694b678e08832d5cfcb52d800c6f1a01aa.tar.gz
bcm5719-llvm-b792e0694b678e08832d5cfcb52d800c6f1a01aa.zip
Disable -Wweak-vtables when there are no key functions
Our -Wweak-vtables diagnostic is powered by our key function calculation, which checks if key functions are enabled. We won't find any key functions in C++ ABIs that lack key functions, so -Wweak-vtables was warning on every dynamic class before this change. So, turn off this warning in ABIs without key functions. Addresses PR31220 llvm-svn: 288850
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud