summaryrefslogtreecommitdiffstats
path: root/lld/include/lld
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2017-10-19 20:19:16 +0000
committerMartin Storsjo <martin@martin.st>2017-10-19 20:19:16 +0000
commit3af5ffb538a3ec48e3da9b2f66ddaa6cb851e7ca (patch)
treed50a69c2cae45e1c6215e3c5c1508fa9bb9e8564 /lld/include/lld
parent769095bd07fc90e6e9eaae5c8b1cd09f543db2e1 (diff)
downloadbcm5719-llvm-3af5ffb538a3ec48e3da9b2f66ddaa6cb851e7ca.tar.gz
bcm5719-llvm-3af5ffb538a3ec48e3da9b2f66ddaa6cb851e7ca.zip
[COFF] Avoid forward declaring StringSet, fix build
This should fix the build after SVN r316178, which worked fine on GCC 5.4, but failed on clang with errors like these: MinGW.h:26:3: error: too few template arguments for class template 'StringSet' StringSet<> ExcludeSymbols; ^ lld/Common/LLVM.h:28:30: note: template is declared here template<typename T> class StringSet; Don't forward declare and add the using directive in the main lld/Common/LLVM.h header, but just qualify the class name in MinGW.h instead. llvm-svn: 316180
Diffstat (limited to 'lld/include/lld')
-rw-r--r--lld/include/lld/Common/LLVM.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lld/include/lld/Common/LLVM.h b/lld/include/lld/Common/LLVM.h
index 582abfb339f..b5d0e2bffb0 100644
--- a/lld/include/lld/Common/LLVM.h
+++ b/lld/include/lld/Common/LLVM.h
@@ -25,7 +25,6 @@ namespace llvm {
// ADT's.
class Error;
class StringRef;
- template<typename T> class StringSet;
class Twine;
class MemoryBuffer;
class MemoryBufferRef;
@@ -58,7 +57,6 @@ namespace lld {
// ADT's.
using llvm::Error;
using llvm::StringRef;
- using llvm::StringSet;
using llvm::Twine;
using llvm::MemoryBuffer;
using llvm::MemoryBufferRef;
OpenPOWER on IntegriCloud