Try to make MSVC 2017 happy.

AArch64BaseInfo.h(316): error C3615: constexpr function 'llvm::SysAlias::SysAlias' cannot result in a constant expression
AArch64BaseInfo.h(316): note: failure was caused by call of undefined function or one not declared 'constexpr'
AArch64BaseInfo.h(316): note: see usage of 'llvm::FeatureBitset::FeatureBitset'

llvm-svn: 369851
This commit is contained in:
Benjamin Kramer 2019-08-24 15:46:49 +00:00
parent 7043477042
commit 7e8f9d579c
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ protected:
} }
public: public:
FeatureBitset() = default; constexpr FeatureBitset() = default;
constexpr FeatureBitset(std::initializer_list<unsigned> Init) { constexpr FeatureBitset(std::initializer_list<unsigned> Init) {
for (auto I : Init) for (auto I : Init)
set(I); set(I);