[lld] r245053 - Remove unused default values.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 14 07:38:44 PDT 2015
Author: rafael
Date: Fri Aug 14 09:38:44 2015
New Revision: 245053
URL: http://llvm.org/viewvc/llvm-project?rev=245053&view=rev
Log:
Remove unused default values.
Modified:
lld/trunk/ELF/Symbols.h
Modified: lld/trunk/ELF/Symbols.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Symbols.h?rev=245053&r1=245052&r2=245053&view=diff
==============================================================================
--- lld/trunk/ELF/Symbols.h (original)
+++ lld/trunk/ELF/Symbols.h Fri Aug 14 09:38:44 2015
@@ -63,8 +63,7 @@ public:
int compare(SymbolBody *Other);
protected:
- SymbolBody(Kind K, StringRef N = "")
- : SymbolKind(K), Name(N) {}
+ SymbolBody(Kind K, StringRef Name) : SymbolKind(K), Name(Name) {}
protected:
const unsigned SymbolKind : 8;
@@ -76,7 +75,7 @@ protected:
// etc.
class Defined : public SymbolBody {
public:
- explicit Defined(Kind K, StringRef N = "") : SymbolBody(K, N) {}
+ explicit Defined(Kind K, StringRef N) : SymbolBody(K, N) {}
static bool classof(const SymbolBody *S) {
Kind K = S->kind();
More information about the llvm-commits
mailing list