| Summary: | Codan does not handle missing functions in macros correctly | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Thomas Kallenberg <thomas> | ||||||
| Component: | cdt-codan | Assignee: | Emanuel Graf <emanuel> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Elena Laskavaia <elaskavaia.cdt> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | cdtdoug, emanuel, mschwab | ||||||
| Version: | 8.0 | ||||||||
| Target Milestone: | 8.0 | ||||||||
| Hardware: | PC | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 191996 [details] patch to support correct reporting of missing functions in macro Hi, Codan does not return the correct name and position of a missing function, if the call is made from a macro like: #define MACRO(f) f() int function() { MACRO(doesnotexist()); } Codan would report the whole line as a problem. However, the correct information is needed to create a non existing function. Thank you very much for looking into this. cheers, Thomas