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

Summary: override virtual method from base class for C++11 mode
Product: cnd Reporter: Vladimir Voskresensky <vv159170>
Component: Code CompletionAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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