diff options
Diffstat (limited to 'src/shared/cplusplus/Symbol.cpp')
-rw-r--r-- | src/shared/cplusplus/Symbol.cpp | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/shared/cplusplus/Symbol.cpp b/src/shared/cplusplus/Symbol.cpp index af168982da..7262522a11 100644 --- a/src/shared/cplusplus/Symbol.cpp +++ b/src/shared/cplusplus/Symbol.cpp @@ -111,9 +111,7 @@ private: }; Symbol::Symbol(TranslationUnit *translationUnit, unsigned sourceLocation, const Name *name) - : _startOffset(0), - _endOffset(0), - _name(0), + : _name(0), _hashCode(0), _storage(Symbol::NoStorage), _visibility(Symbol::Public), @@ -201,18 +199,6 @@ const char *Symbol::fileName() const unsigned Symbol::fileNameLength() const { return fileId()->size(); } -unsigned Symbol::startOffset() const -{ return _startOffset; } - -void Symbol::setStartOffset(unsigned offset) -{ _startOffset = offset; } - -unsigned Symbol::endOffset() const -{ return _endOffset; } - -void Symbol::setEndOffset(unsigned offset) -{ _endOffset = offset; } - const Name *Symbol::identity() const { if (! _name) @@ -433,8 +419,6 @@ bool Symbol::isObjCPropertyDeclaration() const void Symbol::copy(Symbol *other) { _sourceLocation = other->_sourceLocation; - _startOffset = other->_startOffset; - _endOffset = other->_endOffset; _name = other->_name; _hashCode = other->_hashCode; _storage = other->_storage; |