Open PeterSommerlad opened 5 years ago
#ifndef FOO_H_ #define FOO_H_ [[nodiscard]] int foo(){ return 42;} #endif /* FOO_H_ */
when applying Toggle Function the nodiscard attribute is lost.
Also using the Autosar plug-in fails to generate attributes when suppressing a rule.
#ifndef FOO_H_ #define FOO_H_ int foo(); #endif /* FOO_H_ */
Cevelop C++ IDE
Version: 1.11.0-201901181421
works in Version: 1.10.1-201809130520
Created a bug report upstream: https://bugs.eclipse.org/bugs/show_bug.cgi?id=549965
Expected Behavior
when applying Toggle Function the nodiscard attribute is lost.
Also using the Autosar plug-in fails to generate attributes when suppressing a rule.
Actual Behavior
Cevelop Version, Operating System and Compiler
Cevelop C++ IDE
Version: 1.11.0-201901181421