summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-10-18 07:13:32 +0000
committerAlexey Samsonov <samsonov@google.com>2013-10-18 07:13:32 +0000
commit8d433bd458b37327e2fa979a3234762f206b3467 (patch)
tree8d52d7df8554fec081b4240c8ee69bba3caf6948 /include
parentd07a8a2491556243f2fa5c3c2567c532b45f0acd (diff)
downloadllvm-8d433bd458b37327e2fa979a3234762f206b3467.tar.gz
llvm-8d433bd458b37327e2fa979a3234762f206b3467.tar.bz2
llvm-8d433bd458b37327e2fa979a3234762f206b3467.tar.xz
[DebugInfo] Remove unneeded struct member and hide struct definition. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192954 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/DebugInfo/DWARFFormValue.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/llvm/DebugInfo/DWARFFormValue.h b/include/llvm/DebugInfo/DWARFFormValue.h
index c88e42a9c9..c8d600839a 100644
--- a/include/llvm/DebugInfo/DWARFFormValue.h
+++ b/include/llvm/DebugInfo/DWARFFormValue.h
@@ -18,9 +18,8 @@ class DWARFUnit;
class raw_ostream;
class DWARFFormValue {
-public:
struct ValueType {
- ValueType() : data(NULL), IsDWOIndex(false) {
+ ValueType() : data(NULL) {
uval = 0;
}
@@ -30,10 +29,8 @@ public:
const char* cstr;
};
const uint8_t* data;
- bool IsDWOIndex;
};
-private:
uint16_t Form; // Form for this value.
ValueType Value; // Contains all data for the form.