[all-commits] [llvm/llvm-project] c1e6f1: [lldb] Fix gcc 5.4.0 compile error

David Spickett via All-commits all-commits at lists.llvm.org
Thu Aug 27 02:23:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c1e6f1a7b1a8cb2bb11a76b904c6f8150bfcc3a6
      https://github.com/llvm/llvm-project/commit/c1e6f1a7b1a8cb2bb11a76b904c6f8150bfcc3a6
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M lldb/source/Utility/Scalar.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list