forked from qt-creator/qt-creator
cplusplus: remove unneeded declaration and destructor
Change-Id: I5177c5d46409225a8debda2e0f78fffdea27b266 Reviewed-on: http://codereview.qt.nokia.com/208 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -44,9 +44,6 @@ ExpressionUnderCursor::ExpressionUnderCursor()
|
|||||||
: _jumpedComma(false)
|
: _jumpedComma(false)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
ExpressionUnderCursor::~ExpressionUnderCursor()
|
|
||||||
{ }
|
|
||||||
|
|
||||||
int ExpressionUnderCursor::startOfExpression(BackwardsScanner &tk, int index)
|
int ExpressionUnderCursor::startOfExpression(BackwardsScanner &tk, int index)
|
||||||
{
|
{
|
||||||
if (tk[index - 1].is(T_GREATER)) {
|
if (tk[index - 1].is(T_GREATER)) {
|
||||||
|
@@ -39,7 +39,6 @@
|
|||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
class QString;
|
class QString;
|
||||||
class QTextCursor;
|
class QTextCursor;
|
||||||
class QTextBlock;
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace CPlusPlus {
|
namespace CPlusPlus {
|
||||||
@@ -50,7 +49,6 @@ class CPLUSPLUS_EXPORT ExpressionUnderCursor
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ExpressionUnderCursor();
|
ExpressionUnderCursor();
|
||||||
~ExpressionUnderCursor();
|
|
||||||
|
|
||||||
QString operator()(const QTextCursor &cursor);
|
QString operator()(const QTextCursor &cursor);
|
||||||
int startOfFunctionCall(const QTextCursor &cursor) const;
|
int startOfFunctionCall(const QTextCursor &cursor) const;
|
||||||
|
Reference in New Issue
Block a user