diff options
| author | Leandro Melo <leandro.melo@nokia.com> | 2011-09-06 11:50:58 +0200 |
|---|---|---|
| committer | Leandro T. C. Melo <leandro.melo@nokia.com> | 2011-09-06 14:21:04 +0200 |
| commit | d91c218d540e3b4753f1fba98fa4c72c27cf39f8 (patch) | |
| tree | ce9c69bcca535fe5d732f3e6efca8797e6174024 /src/plugins/cpptools/cppfindreferences.cpp | |
| parent | b2374640457c4594d4d4b9a21d02be61921253eb (diff) | |
| download | qt-creator-d91c218d540e3b4753f1fba98fa4c72c27cf39f8.tar.gz | |
C++: More flexibility for string representation of macros
It's now possible to get the macro definition with the actual
line breaks used on the code. This is particularly useful for
tooltips in order for them to look nice.
The preprocessor is changed so the macro also stores the breaks
positions. This doesn't seem to have any impact on performance.
In my machine, for example, the total time for parsing Creator's
source code is approx. 18100ms with or without the patch.
Change-Id: Ic7487236315c3567d26496315accdb2adfea894a
Reviewed-on: http://codereview.qt.nokia.com/4253
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
Diffstat (limited to 'src/plugins/cpptools/cppfindreferences.cpp')
0 files changed, 0 insertions, 0 deletions
