Bug #19188 2013-11-08 10:47

yamakuzure

noexcept specifier not handled correctly.

The C++11 standard is almost 3 years old, now, and most compilers support it (well, mostly.)

For library development (and other use cases, too), the noexcept specifier, substituting the runtime overhead encumbered nothrow() specifier, is rather useful.

However, currently it is like this:

1. Right Click -> Insert -> All class methods without implementation

In this case all methods with noexcept specifier are automatically selected, even if they already have an implementation. And the implementation template then is inserted without "noexcept".

2. Toolbars -> Code completion

All methods / functions with "noexcept" are missing here.

Thanks in advance!

References:

- Forum Post: http://forums.codeblocks.org/index.php/topic,18533.0.html

- C++11 noexcept specifier: http://en.cppreference.com/w/cpp/language/noexcept_spec

- C++11 noexcept operator: http://en.cppreference.com/w/cpp/language/noexcept

Category
Plugin::CodeCompletion
Group
Platform:All
Status
Open
Close date
 
Assigned to
 
yamakuzure 2014-01-15 10:18

I wrote a patchset for this:

http://pastebin.com/Cj4GmAkb

It works for me for the "Insert"->"All class method without implementation..." function.

I have not yet further tested it, as I am at work right now and couldn't spare more than 20 minutes. But from a first glance it seems to re-enable the filling of the code completion dropdown widget, too.

ollydbg 2014-02-28 06:16