Review Request: Preprocessor C++11 compliance in number parsing (tokenizer)

Ivan Shapovalov intelfx100 at gmail.com
Sat Apr 7 18:09:21 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104508/
-----------------------------------------------------------

Review request for KDevelop.


Description
-------

Changed preprocessor numeric value storage to "long long" as per C++11 standard (more precisely, N1988 working draft).
Implemented parsing of numeric suffixes "LL", "L" and "U" in any combinations and parsing error reporting.


Diffs
-----

  languages/cpp/parser/rpp/pp-engine.h 9128ef1 
  languages/cpp/parser/rpp/pp-engine.cpp 71f7f21 
  languages/cpp/parser/tests/test_parser.cpp 3a4c7b9 

Diff: http://git.reviewboard.kde.org/r/104508/diff/


Testing
-------

Unit-tests added regarding new suffixes, error reporting/detection and internal storage limits check.


Thanks,

Ivan Shapovalov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20120407/c8d7ec46/attachment.html>


More information about the KDevelop-devel mailing list