[PATCH] D40579: Use llvm::StringSet instead of std::set.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 29 14:22:15 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rLLD319371: Use llvm::StringSet instead of std::set. (authored by ruiu).
Changed prior to commit:
https://reviews.llvm.org/D40579?vs=124638&id=124816#toc
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D40579
Files:
wasm/Config.h
Index: wasm/Config.h
===================================================================
--- wasm/Config.h
+++ wasm/Config.h
@@ -11,14 +11,13 @@
#define LLD_WASM_CONFIG_H
#include "llvm/ADT/StringRef.h"
+#include "llvm/ADT/StringSet.h"
#include "llvm/BinaryFormat/Wasm.h"
#include "Symbols.h"
using llvm::wasm::WasmGlobal;
-#include <set>
-
namespace lld {
namespace wasm {
@@ -38,7 +37,7 @@
llvm::StringRef OutputFile;
llvm::StringRef Sysroot;
- std::set<llvm::StringRef> AllowUndefinedSymbols;
+ llvm::StringSet<> AllowUndefinedSymbols;
std::vector<llvm::StringRef> SearchPaths;
std::vector<std::pair<Symbol *, WasmGlobal>> SyntheticGlobals;
};
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40579.124816.patch
Type: text/x-patch
Size: 681 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171129/d503ba03/attachment.bin>
More information about the llvm-commits
mailing list