Commit Graph

34 Commits

Author SHA1 Message Date
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
1e7b406327 Added Snapshot::dependsOn().
Snapshot::dependsOn(fn) returns the files in the snapshot that depends on fn.
2009-07-29 10:18:07 +02:00
Roberto Raggi
37a146d05c Introduced revisions in CPlusPlus::Document.
Reviewed by Thorbjørn Lindeijer
2009-07-14 14:24:02 +02:00
Roberto Raggi
fd4dbd7446 Introduced Snapshot::simplified(doc) 2009-07-10 12:42:55 +02:00
Roberto Raggi
fd8cd69a47 Introduced Document::CheckMode. 2009-06-26 09:11:14 +02:00
Roberto Raggi
0481176ea7 Highlight the locals. 2009-06-24 16:40:52 +02:00
Roberto Raggi
c222f2aa27 Some cleanup in the AST nodes. 2009-06-17 16:08:33 +02:00
Roberto Raggi
873838fe3a Simplified TypeOf/ResolveExpression. 2009-06-17 11:19:43 +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
dbba0ff8d7 Removed the filename literals. 2009-06-15 15:39:20 +02:00
Roberto Raggi
b18cb113da Added Document::source() 2009-06-05 14:29:57 +02:00
Roberto Raggi
cd3022dc3e Show all the warn messages. 2009-06-04 11:42:02 +02:00
Roberto Raggi
fd62025d63 Say hello to Snapshot::documentFromSource(), Snapshot::preprocessedCode() and Snapshot::globalNamespaceBinding(). 2009-06-03 16:16:20 +02:00
Roberto Raggi
fde8ca4a16 Added Document::ParseDeclarator. 2009-03-30 15:08:21 +02:00
Roberto Raggi
e253f39360 Store the actual arguments of the macro expansions. 2009-03-04 11:47:30 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Roberto Raggi
bfe36575b7 Introduced a parallel indexer. It is ifdef-out atm. 2009-02-24 11:04:52 +01:00
Roberto Raggi
9539bb2b28 Less annoying syntax checker. 2009-02-10 23:33:40 +01:00
Roberto Raggi
56b48c2362 Fixes: Enable ObjC support. 2009-02-05 14:30:24 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
Roberto Raggi
d454607264 Implemented tooltip and lookat for #include directives. 2008-12-10 17:21:28 +01:00
Roberto Raggi
fdfae53abb Don't use QTC_ASSERT in the C++ front-end library. The engine does not
recover from invalid asserts, so it will crash anyway, but not in
a controlled environment.
2008-12-10 15:44:26 +01:00
Roberto Raggi
20e36cc364 tooltip for macro definitions. 2008-12-09 15:24:26 +01:00
hjk
4a552ead9f use QTC_ASSERT instead of Q_ASSERT 2008-12-09 15:25:01 +01:00
Roberto Raggi
310d50fd07 Use Macros. 2008-12-08 12:59:57 +01:00
Roberto Raggi
3d3802d50f Added macro expanding events and some initial on the macro highlighting support. 2008-12-04 12:06:26 +01:00
Roberto Raggi
e2e4fcd95b Added different parsing mode to TranslationUnit/CppDocument. 2008-12-03 14:01:58 +01:00
hjk
ab83dcd87c off-by-one in headers 2008-12-02 14:20:25 +01:00
hjk
8a43d9b9f3 end-of-line whitespace correction of the new headers 2008-12-02 14:17:16 +01:00
hjk
f61e8672db more cosmetic changes 2008-12-02 14:09:21 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00