summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-11-01 01:37:11 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-11-01 01:37:11 +0000
commit5173136a968547330ab5a25c467b9b968be9ab43 (patch)
treed795d97a8daf7ff69861f0d557f5296ff2cb5bf9 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parented017b634cc2fb6761dc292cb05f01cd12b0164f (diff)
[c++17] Refine resolution of constructor / conversion function disambiguation.
Given a choice between a constructor call and a conversion function in C++17, we prefer the constructor for direct-initialization and the conversion function for copy-initialization, matching the behavior in C++14 and before. The guaranteed copy elision rules were not intended to change the meaning of such code (other than by removing unnecessary copy constructor calls). This tweak will be raised with CWG. llvm-svn: 317066
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions