OSDN Git Service

Work around empty set default parameter compilation issue.
authorNicolas Capens <capn@google.com>
Fri, 20 Jan 2017 20:21:45 +0000 (15:21 -0500)
committerNicolas Capens <nicolascapens@google.com>
Tue, 24 Jan 2017 22:16:10 +0000 (22:16 +0000)
commit8bd18e1be3eb25d60a4696bb948ab41f6ce6afd6
treee608131110b73ef8796cbbec85ec47f33ca2cd52
parent5c4d677c58b0bb1fc22c8515c4141c8b77cf6bf1
Work around empty set default parameter compilation issue.

Older versions of Clang don't allow using an empty set as the default
parameter of a class with an explicit constructor.
"error: chosen constructor is explicit in copy-initialization"

BUG=chromium:630728

Change-Id: I580073788ce3346d1ecffab336a0fcee210b2e0f
Reviewed-on: https://chromium-review.googlesource.com/431080
Reviewed-by: Jim Stichnoth <stichnot@chromium.org>
src/IceRegAlloc.h
src/IceTargetLowering.cpp