Commit Graph

12 Commits

Author SHA1 Message Date
con
04e32b0049 License headers. 2010-12-17 16:03:42 +01:00
Roberto Raggi
a31de2c37a Fixed header protection. 2010-05-28 17:17:11 +02:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Roberto Raggi
77aa306478 Removed the MacroResolver
Unfortunately, the MacroResolver does not scale and we get pretty bad performances when parsing big projects.
2009-10-07 13:57:45 +02:00
Roberto Raggi
ae43149c97 Cache the macros. 2009-09-30 18:52:42 +02:00
Roberto Raggi
9a21143384 Implemented a simple(fast?) strategy to resolve macro references. 2009-09-30 17:17:11 +02:00
Christian Kamm
22ed0255b9 Track more macro uses.
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>
2009-09-25 16:08:01 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Roberto Raggi
f8531cc833 Merge the environment from the previous parse. 2009-07-01 10:25:31 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Roberto Raggi
e2a0a4d7c5 Keep the original encoded text around while preprocessing. 2009-06-15 15:39:20 +02:00
Roberto Raggi
d18b0195e5 Introduced CPlusPlus::FastPreprocessor. 2009-06-03 15:51:37 +02:00