diff options
author | Reid Kleckner <reid@kleckner.net> | 2014-08-15 18:03:58 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2014-08-15 18:03:58 +0000 |
commit | a6b86bef4d5f09db3e3c9906628a0b637af9ace8 (patch) | |
tree | 1fc2f530584d3a8450b7e58fb55eda6394b70db9 /llvm/lib/Support/CommandLine.cpp | |
parent | 39945dcc0ba585b111a06cbe5fb9e9416676a1dc (diff) | |
download | llvm-a6b86bef4d5f09db3e3c9906628a0b637af9ace8.zip llvm-a6b86bef4d5f09db3e3c9906628a0b637af9ace8.tar.gz llvm-a6b86bef4d5f09db3e3c9906628a0b637af9ace8.tar.bz2 |
Fix the build with MSVC 2013 after new shuffle code
MSVC gives this awesome diagnostic:
..\lib\Target\X86\X86ISelLowering.cpp(7085) : error C2971: 'llvm::VariadicFunction1' : template parameter 'Func' : 'isShuffleEquivalentImpl' : a local variable cannot be used as a non-type argument
..\include\llvm/ADT/VariadicFunction.h(153) : see declaration of 'llvm::VariadicFunction1'
..\lib\Target\X86\X86ISelLowering.cpp(7061) : see declaration of 'isShuffleEquivalentImpl'
Using an anonymous namespace makes the problem go away.
llvm-svn: 215744
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions