HomePhabricator

[lldb] Fix gcc 5.4.0 compile error

Authored by DavidSpickett on Wed, Aug 26, 8:25 AM.

Description

[lldb] Fix gcc 5.4.0 compile error

Specify type when constructing PromotionKeys,
this fixes error:
"chosen constructor is explicit in copy-initialization"
when compiling lldb with GCC 5.4.0.

This is due to std::tuple having an explicit
default constructor, see:
http://cplusplus.github.io/LWG/lwg-defects.html#2193

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D86690

Details

Committed
DavidSpickettThu, Aug 27, 2:23 AM
Reviewer
labath
Differential Revision
D86690: [lldb] Fix gcc 5.4.0 compile error
Parents
rG469debe0275b: [ValueTracking] Support select in findAllocaForValue
Branches
Unknown
Tags
Unknown