Commit Graph

29 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
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
b18cb113da Added Document::source() 2009-06-05 14:29:57 +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
Thorbjørn Lindeijer
222b4faba8 Don't try to jump to unresolved included files
It popped up an error saying the file couldn't be found. Better not show
a link at all.
2009-03-26 18:21:11 +01: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
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
Roberto Raggi
0422bcbbd5 Some more clean up in the preprocessor. 2008-12-22 14:10:47 +01:00
Roberto Raggi
678c09c813 Made line and column unsigned ints. 2008-12-18 10:53:56 +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
bab60d14b3 Introduced CPlusPlus::Snapshot, it contains a snap shot of the indexer's current state.
This change removes a number of wrong usages of the CppModelManager::documents()/document().
2008-12-12 10:07:58 +01:00
Roberto Raggi
d454607264 Implemented tooltip and lookat for #include directives. 2008-12-10 17:21:28 +01:00
Roberto Raggi
20e36cc364 tooltip for macro definitions. 2008-12-09 15:24:26 +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