User forums > Help

When will Code::Blocks support "noexcept" specifier?

(1/3) > >>

Yamakuzure:
Hello everybody,

are there any plans known when C::B (SVN 9425 on Gentoo Linux) will support the "noexcept" specifier? 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!

Reference: C++11 noexcept specifier and C++11 noexcept operator.

Yamakuzure:
Bug 19188 opened, as there are either no plans, yet, or none known.

Alpha:
Our parser for codecompletion does not handle C++11 constructs (or templates) very well currently.  There are plans to eventually incorporate Clang, which would bring full support for C++11, however there is no estimated timeline.

ollydbg:
Maybe, adding such keyword handling in current CC's parser is not that hard (mainly in ParserThread class). So, patches are welcome.  :)
(I'm just a little busy on other things of C::B.)

Yamakuzure:

--- Quote from: Alpha on November 08, 2013, 02:57:31 pm ---Our parser for codecompletion does not handle C++11 constructs (or templates) very well currently.  There are plans to eventually incorporate Clang, which would bring full support for C++11, however there is no estimated timeline.

--- End quote ---
What does the C language family frontend for LLVM have to do with this? I'm just curious.


--- Quote from: ollydbg on November 10, 2013, 04:56:44 pm ---Maybe, adding such keyword handling in current CC's parser is not that hard (mainly in ParserThread class). So, patches are welcome.  :)
(I'm just a little busy on other things of C::B.)

--- End quote ---
Ok.

http://pastebin.com/Cj4GmAkb Contains a patch that adds noexcept.
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.

Navigation

[0] Message Index

[#] Next page

Go to full version