diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-05-13 23:35:21 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-05-13 23:35:21 +0000 |
commit | 921f132a0f609154fa3a2c419b0119f7bf32ba96 (patch) | |
tree | e4cd3ab26a41cb96125814ef4123d5cfa31abcfd /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 91792f1b93e91ee011c6bde87d263f0e8f859790 (diff) | |
download | bcm5719-llvm-921f132a0f609154fa3a2c419b0119f7bf32ba96.tar.gz bcm5719-llvm-921f132a0f609154fa3a2c419b0119f7bf32ba96.zip |
[c++20] P1064R0: Allow virtual function calls in constant expression
evaluation.
This reinstates r360559, reverted in r360580, with a fix to avoid
crashing if evaluation-for-overflow mode encounters a virtual call on an
object of a class with a virtual base class, and to generally not try to
resolve virtual function calls to objects whose (notional) vptrs are not
readable. (The standard rules are unclear here, but this seems like a
reasonable approach.)
llvm-svn: 360635
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions