mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-23 20:22:09 +00:00
Fix MSVC build by correcting placement of declspec after r345056
Going by the MSVC toolchains at godbolt.org, declspec comes after the template<...>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@345059 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
68de396c34
commit
5b2930967e
@ -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