summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-10-28 17:05:34 -0700
committerReid Kleckner <rnk@google.com>2019-10-29 16:58:00 -0700
commit07ee46d613d7c1862878d7c7d1208a7b3e37459d (patch)
tree55142146f32a60aa83f81f7717ac074ef5e3bb81 /lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp
parent44bac3ed5291031174ff62a2e841210ff8aedb66 (diff)
downloadbcm5719-llvm-07ee46d613d7c1862878d7c7d1208a7b3e37459d.tar.gz
bcm5719-llvm-07ee46d613d7c1862878d7c7d1208a7b3e37459d.zip
[MS] Fix constexpr data member pointer conversions
Constexpr data member conversions work by starting with the class that originally introduced the field, and converting from there to the type that the user desires. Before this change, Clang was using the inheritance model from the final destination class type instead of the model from the class that originally introduced the field. To fix this, find the relevant FieldDecl and take its parent class instead of using the member pointer type the user provided. Indirect field decls require some special handling to find the parent class. Fixes PR43803
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud