mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Fix MSVC build by correcting placement of declspec after r345056
Going by the MSVC toolchains at godbolt.org, declspec comes after the template<...>. llvm-svn: 345059
This commit is contained in:
parent
2e9b647506
commit
a073f1f188
@ -2083,10 +2083,10 @@ static void emitFieldFromInstruction(formatted_raw_ostream &OS) {
|
||||
<< "// * Support shift (<<, >>) with signed and unsigned integers on the "
|
||||
"RHS\n"
|
||||
<< "// * Support put (<<) to raw_ostream&\n"
|
||||
<< "template<typename InsnType>\n"
|
||||
<< "#if defined(_MSC_VER) && !defined(__clang__)\n"
|
||||
<< "__declspec(noinline)\n"
|
||||
<< "#endif\n"
|
||||
<< "template<typename InsnType>\n"
|
||||
<< "static InsnType fieldFromInstruction(InsnType insn, unsigned "
|
||||
"startBit,\n"
|
||||
<< " unsigned numBits, "
|
||||
|
Loading…
x
Reference in New Issue
Block a user