summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/pp-engine.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix/add copyright headersTobias Hunger2011-05-061-1/+1
| | | | Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
* Fix more krazy warnings.Friedemann Kleint2011-04-191-1/+1
|
* Update license.hjk2011-04-131-14/+13
|
* s:// end of namespace :// namespace :g for consistencyhjk2011-02-041-1/+1
| | | | We use the latter style everywhere else to signify the end of a namespace block.
* It's 2011 now.con2011-01-121-1/+1
| | | | Reviewed-by: hjk
* C++: Add parsing of Q_PRIVATE_PROPERTY.Christian Kamm2011-01-041-0/+2
| | | | Reviewed-by: Roberto Raggi
* C++: Fix bind of Q_INVOKABLE functions.Christian Kamm2011-01-041-0/+2
| | | | Reviewed-by: Roberto Raggi
* License headers.con2010-12-171-7/+11
|
* Highlight user defined types.Roberto Raggi2010-05-251-6/+3
|
* Get rid of unsigned/long suffixes before evaluating numbers.Roberto Raggi2010-04-291-2/+12
| | | | Task-number: QTCREATORBUG-1292
* Handle unary ~ operator.Roberto Raggi2010-04-271-0/+4
|
* Added parser support for Q_INTERFACES.Erik Verbruggen2010-03-171-0/+2
|
* Take the branch when evaluating #ifndef QT_NO_XXX and QT_NO_XXX has been ↵Roberto Raggi2010-03-121-5/+22
| | | | defined in a pro file.
* Long live the king!hjk2010-03-051-1/+1
|
* Fixed: Wrong usage highlighting if function's argument list contains comment.Roberto Raggi2010-03-031-1/+16
| | | | Task-number: QTCREATORBUG-577
* Fixed pre-processor handling for Q_PROPERTY, Q_ENUMS and Q_FLAGS.Erik Verbruggen2010-02-221-22/+21
|
* Removed Q_DECLARE_FLAGS parsing, leaving it to the CPP to expand it.Erik Verbruggen2010-02-081-2/+4
|
* Reworked parts of the QtPropertyDeclaration parsing and handling.Erik Verbruggen2010-02-071-6/+5
|
* Removed methods which always returned a constant (false).Erik Verbruggen2010-01-281-5/+1
|
* Changed binary expression parsing to use precedence parsing.Erik Verbruggen2010-01-281-200/+99
|
* Merge ichecker branch changes into the mainline. New project can be found ↵Wolfgang Beck2010-01-191-15/+21
| | | | under src/tools/ICheck
* Small inclusion fixes.Tobias Hunger2010-01-081-1/+0
| | | | | | | * Remove duplicate headers. * Move own headers to the top. Reviewed-by: Roberto Raggi
* Enhance data stored for macros and macro uses.Christian Kamm2009-12-211-0/+2
| | | | | | | | | | | In preparation for finding macro uses. * Macro: add offset and length * MacroUse: add line * Document: add convenience functions for finding a macro definition, use or undefined use at a given location. Reviewed-by: Erik Verbruggen
* Fixed line/column position of the tokens after multiline string literals.Roberto Raggi2009-12-171-0/+14
|
* Save/Restore the if-level.Roberto Raggi2009-12-091-0/+4
|
* Merge commit 'origin/1.3'mae2009-12-031-1/+1
|\ | | | | | | | | Conflicts: src/plugins/cppeditor/cppeditor.cpp
| * Compile fix for 42f849c4da2ecb9c32efcc19cee1e8e94e86bc10.Christian Kamm2009-12-031-1/+1
| | | | | | | | Reviewed-by: Roberto Raggi
* | Merge remote branch 'origin/1.3'con2009-12-031-0/+3
|\ \ | |/
| * Fixed line/column position after macro expansion.Roberto Raggi2009-12-031-0/+3
| | | | | | | | Task-Number: QTCREATORBUG-409
* | Inital support for Q_D/Q_Q declarations.Roberto Raggi2009-11-301-0/+4
|/
* Initialize the pp's engine _dot member.Roberto Raggi2009-10-211-0/+1
|
* Renamed Preprocessor::_true_testRoberto Raggi2009-10-211-9/+9
|
* Use bit vectors to store the preprocessor's state.Roberto Raggi2009-10-211-0/+2
|
* Store in the document's macroUsages only the top-level macro expansions.Roberto Raggi2009-10-151-9/+0
|
* Track more macro uses.Christian Kamm2009-09-251-10/+23
| | | | | | | | | | | | In particular macros that are only checked for definition or are expanded during the evaluation of an #if or #elif directive are now also added to the list available through Document::macroUses(). The names of undefined macros that are interesting (because they're used in an #ifdef or a defined(...)) are now available through Document::undefinedMacroUses(). Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Don't include whitespaces and comments at the end of macro definitions.Roberto Raggi2009-08-241-1/+1
|
* long live the kinghjk2009-08-141-1/+1
|
* Compile the C++ parser library with Sun CC 5.9.Thiago Macieira2009-08-031-11/+11
| | | | | | | | | | | | Things you mustn't do: 1) end an enum with a comma 2) #include <cxxxx> and not use std:: 3) use anonymous structures All three things are invalid C++. Anonymous structures inside anonymous unions are allowed by GCC, but that doesn't mean it's valid.
* Replaced T_INT_LITERAL and T_FLOAT_LITERAL with T_NUMERIC_LITERAL.Roberto Raggi2009-07-101-1/+1
|
* Don't expand object-like macro when preprocessing in fast-mode.Roberto Raggi2009-07-091-0/+11
|
* Disable macro expansion when preprocessing in fast-mode.Roberto Raggi2009-07-061-2/+17
|
* Made foreach a keyword when parsing with qtMocRunRoberto Raggi2009-07-031-0/+2
|
* Introduced ForeachStatementAST and the bits to parse foreach statements when ↵Roberto Raggi2009-07-031-0/+2
| | | | qtMocRun is enabled.
* Fixed possible crash in the preprocessing phase when the first token in theRoberto Raggi2009-07-011-1/+5
| | | | `original' (not preprocessed) token stream has the whitespace atttribute on.
* Produce `join' tokens.Roberto Raggi2009-06-291-4/+5
|
* Update license headers and sales contact details.Jason McDonald2009-06-171-2/+2
| | | | Reviewed-by: Trust Me
* Keep the original encoded text around while preprocessing.Roberto Raggi2009-06-151-4/+23
|
* Store the encoded file name in a QString.Roberto Raggi2009-05-271-4/+4
|
* Fixed possible crash in std::isspace(ch) when ch is a unicode char.Roberto Raggi2009-05-151-2/+3
|
* There is no output stream so there's nothing to expand.Roberto Raggi2009-05-131-1/+2
|