This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 251419 - override virtual method from base class for C++11 mode
Summary: override virtual method from base class for C++11 mode
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-25 15:11 UTC by Vladimir Voskresensky
Modified: 2015-03-26 03:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2015-03-25 15:11:02 UTC
struct Base {
  virtual void foo() {

  }
};

struct Derived : public Base {

  | // completion here and choose foo() - override

};

In C++11 mode and above:
expected:
void foo() override;
got:
virtual void foo();
Comment 1 Vladimir Voskresensky 2015-03-25 15:19:59 UTC
Sasha, could you fix it, please.
Comment 2 Alexander Simon 2015-03-25 16:30:58 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/8b836a535dce
Comment 3 Quality Engineering 2015-03-26 03:24:04 UTC
Integrated into 'main-silver', will be available in build *201503260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8b836a535dce
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #251419 override virtual method from base class for C++11 mode