aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/python-wrapper.swig
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2017-06-20 17:38:07 +0000
committerErich Keane <erich.keane@intel.com>2017-06-20 17:38:07 +0000
commitc9cb1c13bab07bd56ecf3ae9be92a393b53c859b (patch)
tree0dc41fbe386b29f72b70d50beff53f0b68f0210a /lldb/scripts/Python/python-wrapper.swig
parentf5bb738f75000c8f40c35b59dddebd527a514de1 (diff)
downloadllvm-c9cb1c13bab07bd56ecf3ae9be92a393b53c859b.zip
llvm-c9cb1c13bab07bd56ecf3ae9be92a393b53c859b.tar.gz
llvm-c9cb1c13bab07bd56ecf3ae9be92a393b53c859b.tar.bz2
Fix for Bug 33471: Preventing operator auto from resolving to a template operator.
As the bug report says, struct A { template<typename T> operator T(); }; void foo() { A().operator auto(); } causes: "undeduced type in IR-generation UNREACHABLE executed at llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:208!" The problem is that in this case, "T" is being deduced as "auto", which I believe is incorrect. The 'operator auto' implementation in Clang is standards compliant, however there is a defect report against core (1670). Differential Revision: https://reviews.llvm.org/D34370 llvm-svn: 305812
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions