diff options
author | Nico Weber <nicolasweber@gmx.de> | 2018-05-17 15:26:37 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2018-05-17 15:26:37 +0000 |
commit | d60bbcee98a89e9fd2fa1ee0c0348a08481aa1a0 (patch) | |
tree | bf42bfb53bd9dcd33dc06fa72165308006419609 /lldb/packages/Python/lldbsuite/test | |
parent | c8dd6ccc8a358273114ef7e6f19ad59f6258048c (diff) | |
download | bcm5719-llvm-d60bbcee98a89e9fd2fa1ee0c0348a08481aa1a0.tar.gz bcm5719-llvm-d60bbcee98a89e9fd2fa1ee0c0348a08481aa1a0.zip |
Fix __uuidof handling on non-type template parameter in C++17
Clang used to pass the base lvalue of a non-type template parameter
to the template instantiation phase when the base part is __uuidof
and it's running in C++17 mode.
However, that drops its LValuePath, and unintentionally transforms
&__uuidof(...) to __uuidof(...).
This CL fixes that by passing whole expr. Fixes PR24986.
https://reviews.llvm.org/D46820?id=146557
Patch from Taiju Tsuiki <tzik@chromium.org>!
llvm-svn: 332614
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions