forked from OSchip/llvm-project
Drop a constexpr in favor of const, MSVC complains.
lib\Target\Hexagon\HexagonGenDFAPacketizer.inc(109): error C2131: expression did not evaluate to a constant
This commit is contained in:
parent
4ca753f4e3
commit
44bbc76700
|
@ -119,7 +119,7 @@ void DfaEmitter::emit(StringRef Name, raw_ostream &OS) {
|
|||
for (auto &T : DfaTransitions)
|
||||
Table.add(T.second.second);
|
||||
Table.layout();
|
||||
OS << "constexpr std::array<NfaStatePair, " << Table.size() << "> " << Name
|
||||
OS << "const std::array<NfaStatePair, " << Table.size() << "> " << Name
|
||||
<< "TransitionInfo = {{\n";
|
||||
Table.emit(
|
||||
OS,
|
||||
|
|
Loading…
Reference in New Issue