C++11 and "noexcept" keyword

Ivan Shapovalov intelfx100 at gmail.com
Fri Apr 6 18:36:46 BST 2012


Thanks.

The patch is on reviewboard now, it has been assigned #104498. 
https://git.reviewboard.kde.org/r/104498/

Also, there is a bug #297604 about this. Shall I also post the patch there?

On 6 апреля 2012 16:19:49 Sven Brauch wrote:
> 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
> 
> _______________________________________________
> kdevelop mailing list
> kdevelop at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop

--
Regards,
Ivan S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20120406/0d924846/attachment.html>


More information about the KDevelop mailing list