Files
qt-creator/src/libs/cplusplus
Leandro Melo 621e5c3dbe C++: Parse emit/Q_EMIT properly
The parser now understands emit/Q_EMIT as an expression statement.

Also, the recent fixes in the preprocessor introduced a side-effect
in the hanlding of code such as: emit signal(); Member signal started
being treated as a local use (parsed as a declaration) and possibily
being highlighted as unused variable.

Previously that worked by accident since there was an inconsistency
in the preprocessor on which only object-like macros were being
expanded even when the "no expand" flag was set. Then, the code
mentioned above was being parsed as an expression, what kind of worked.

Change-Id: I47a68ed4c1c1702872620b8ed7c7264fb0997034
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-06-28 11:49:50 +02:00
..
2008-12-02 12:01:29 +01:00
2012-01-26 19:55:36 +01:00
2012-03-29 14:46:18 +02:00
2008-12-02 12:01:29 +01:00
2012-01-26 19:55:36 +01:00
2012-01-26 19:55:36 +01:00
2012-01-26 19:55:36 +01:00
2012-01-26 19:55:36 +01:00
2012-03-29 14:28:17 +02:00
2012-03-29 14:28:17 +02:00
2012-01-26 19:55:36 +01:00
2012-01-26 19:55:36 +01:00
2012-01-26 19:55:36 +01:00
2012-01-26 19:55:36 +01:00
2012-06-28 11:49:50 +02:00
2012-06-25 15:49:27 +02:00
2012-01-26 19:55:36 +01:00
2012-01-26 19:55:36 +01:00
2012-03-29 14:28:17 +02:00
2012-06-25 15:49:27 +02:00
2012-06-25 15:49:27 +02:00
2012-01-26 19:55:36 +01:00
2012-01-26 19:55:36 +01:00
2012-01-26 19:55:36 +01:00
2012-01-26 19:55:36 +01:00
2012-01-26 19:55:36 +01:00
2012-01-26 19:55:36 +01:00
2012-01-26 19:55:36 +01:00
2012-01-26 19:55:36 +01:00