C++11 and "noexcept" keyword

Sven Brauch svenbrauch at googlemail.com
Fri Apr 6 15:19:49 BST 2012


Hi there,

sounds cool! Patches are usually uploaded and reviewed at reviewboard.kde.org.

I'm sure it's possible to modify the DUChain accordingly, but I'm not
familiar with the C++ duchain code. You might want to ask in IRC or
wait for another answer on the list. :)

Greetings,
Sven

Am 6. April 2012 12:06 schrieb Ivan Shapovalov <intelfx100 at gmail.com>:
> Hello.
>
> I've just updated my GCC toolchain to 4.7.0 and noticed one nasty detail that
> makes KDev's auto-completion with STL nearly unusable.
> They now use a new C++11 keyword "noexcept" to mark some methods, which is not
> currently supported by KDevelop C++ parser.
>
> I have written initial support for "noexcept" specifier parsing (it is saved to
> ExceptionSpecificationAST).
> If nobody had implemented it yet - what is the best way to upload patches?
>
>
> And, by the way - is it possible to semantically handle that specifier (so
> functions will be marked as "noexcept" in Quick Information), or DUChain is
> too abstract for this?
>
> Reference for "noexcept" specifier:
> http://en.cppreference.com/w/cpp/language/noexcept_spec
>
> Reference for "noexcept" operator:
> http://en.cppreference.com/w/cpp/language/noexcept
>
>
> --
> Regards,
> Ivan S.
>
> _______________________________________________
> kdevelop mailing list
> kdevelop at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop




More information about the KDevelop mailing list