OSDN Git Service

Simplify ClFlags macro for older C++ standards.
authorNicolas Capens <capn@google.com>
Thu, 1 Sep 2016 15:29:43 +0000 (11:29 -0400)
committerNicolas Capens <capn@google.com>
Fri, 2 Sep 2016 18:29:35 +0000 (14:29 -0400)
commita0b720defcf98ab334fe90abc98a7664540a7229
treea674e1780008fe848ce0968091825ed671ea63b9
parente6983131d86113d5c36c9eb8a45c44b4373ba290
Simplify ClFlags macro for older C++ standards.

Visual Studio 2015 does not support the use of typename outside of a
template definition. Instead alias the flag's storage type. This
even avoids some duplication.

BUG=swiftshader:7

Change-Id: I787701f6bfe8e36169e6ac5d63fcb6a1a114bdb0
src/IceClFlags.h