summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/YAML
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2012-09-10 23:46:58 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2012-09-10 23:46:58 +0000
commit69ed53ab5fdfa0d00fbd37c1965969608cb77d0b (patch)
tree1bb7d28bfe146ef63a24a06d09e3aa817e08b995 /lld/lib/ReaderWriter/YAML
parent927bfa3fd9416f9059a352ff7f1b5725c390f1d0 (diff)
downloadbcm5719-llvm-69ed53ab5fdfa0d00fbd37c1965969608cb77d0b.tar.gz
bcm5719-llvm-69ed53ab5fdfa0d00fbd37c1965969608cb77d0b.zip
Fix warnings.
llvm-svn: 163573
Diffstat (limited to 'lld/lib/ReaderWriter/YAML')
-rw-r--r--lld/lib/ReaderWriter/YAML/ReaderYAML.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/lld/lib/ReaderWriter/YAML/ReaderYAML.cpp b/lld/lib/ReaderWriter/YAML/ReaderYAML.cpp
index f566da3d900..72536a45773 100644
--- a/lld/lib/ReaderWriter/YAML/ReaderYAML.cpp
+++ b/lld/lib/ReaderWriter/YAML/ReaderYAML.cpp
@@ -345,12 +345,11 @@ private:
class YAMLUndefinedAtom : public UndefinedAtom {
public:
YAMLUndefinedAtom( YAMLFile &f
- , int32_t ord
+ , int32_t
, StringRef name
, UndefinedAtom::CanBeNull cbn)
: _file(f)
, _name(name)
- , _ordinal(ord)
, _canBeNull(cbn) {
}
@@ -369,7 +368,6 @@ public:
private:
YAMLFile &_file;
StringRef _name;
- uint32_t _ordinal;
UndefinedAtom::CanBeNull _canBeNull;
};
@@ -381,13 +379,12 @@ private:
class YAMLSharedLibraryAtom : public SharedLibraryAtom {
public:
YAMLSharedLibraryAtom( YAMLFile &f
- , int32_t ord
+ , int32_t
, StringRef name
, StringRef loadName
, bool cbn)
: _file(f)
, _name(name)
- , _ordinal(ord)
, _loadName(loadName)
, _canBeNull(cbn) {
}
@@ -411,7 +408,6 @@ public:
private:
YAMLFile &_file;
StringRef _name;
- uint32_t _ordinal;
StringRef _loadName;
bool _canBeNull;
};
@@ -423,10 +419,9 @@ private:
///
class YAMLAbsoluteAtom : public AbsoluteAtom {
public:
- YAMLAbsoluteAtom(YAMLFile &f, int32_t ord, StringRef name, uint64_t v)
+ YAMLAbsoluteAtom(YAMLFile &f, int32_t, StringRef name, uint64_t v)
: _file(f)
, _name(name)
- , _ordinal(ord)
, _value(v) {
}
@@ -445,7 +440,6 @@ public:
private:
YAMLFile &_file;
StringRef _name;
- uint32_t _ordinal;
uint64_t _value;
};
OpenPOWER on IntegriCloud