Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323602 - [f.p.] CodanAnalysis says that return in constructors and destructors must return value.
Summary: [f.p.] CodanAnalysis says that return in constructors and destructors must re...
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-codan (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 8.0   Edit
Assignee: Elena Laskavaia CLA
QA Contact: Elena Laskavaia CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-25 08:14 EDT by Vasiliy Dybala CLA
Modified: 2010-08-26 21:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vasiliy Dybala CLA 2010-08-25 08:14:34 EDT
1. turn on "No return value check" in  Code Analysis preferences

2. 

class cl
{
  cl()
  {
    return;
  }
  
  ~cl()
  {
    return;
  }
};

eclipse shows markers near returns: "Return without value, in function returning non-void"

CDT build:  201008060807
Comment 1 Elena Laskavaia CLA 2010-08-26 20:48:25 EDT
fixed on head (cdt 8.0)