Commit Graph

24 Commits

Author SHA1 Message Date
Roberto Raggi
398451b9d5 Improved LookupContext::buildVisibleScopes(). 2009-05-19 14:15:56 +02:00
Thorbjørn Lindeijer
55c69ffea4 Do not expand the list of candidates when resolving fully qualified ids
Still too unstable after all.

This reverts commit 6f3c9f7002.
2009-05-19 12:16:25 +02:00
Thorbjørn Lindeijer
6f3c9f7002 Revert "Do not expand the list of candidates when resolving fully qualified ids"
This reverts commit 84ba24ac71.

It might work now cause of the fix done in commit
f3767148c0.
2009-05-18 15:30:37 +02:00
Roberto Raggi
f3767148c0 Fixed: Possible crash when resolving fully qualified name ids.
Task: 249227
2009-04-06 16:49:58 +02:00
Thorbjørn Lindeijer
84ba24ac71 Do not expand the list of candidates when resolving fully qualified ids
Crashes, Roberto will fix properly later.
2009-03-26 11:18:09 +01:00
Roberto Raggi
249aaa0ab6 Fixed the lookup of qualified name ids. 2009-03-25 12:29:15 +01:00
Roberto Raggi
064201ff85 Mark the generated regions of text. 2009-03-04 14:36:47 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Roberto Raggi
c72c84d837 Fixes: Possible crash while resolving qualified name ids.
There is no need to "expand" again the scope we get from invoking `resolve'.
2009-02-18 16:02:01 +01:00
Thorbjørn Lindeijer
a7cda431f0 Fixed crash in lookup context due to null-name
Return early in this case.

Reviewed-by: Roberto Raggi
2009-02-11 10:41:07 +01:00
Roberto Raggi
a90545126f Fixes: Lookup of qualified name ids. 2009-01-24 23:07:42 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
Roberto Raggi
9f1e7205e8 Ensure we had a valid class symbol. 2009-01-13 10:30:48 +01:00
Roberto Raggi
a2cd5db6ce Improved the lookup of qualified name ids. 2009-01-13 10:17:13 +01:00
Roberto Raggi
f0ac751f4a Completion for typedef of pointer to struct. 2008-12-31 10:57:27 +01:00
Roberto Raggi
0185a49a78 Removed LookupUtils. 2008-12-23 15:27:55 +01:00
Roberto Raggi
e325aa38d9 Nicer implementation of CPlusPlus::Macro. 2008-12-22 13:55:42 +01:00
Roberto Raggi
1e0f06e4e8 Introduced expandNamespace(), expandClass(), expandBlock(), and expandFunction().
This should simplify the merging of the improved lookup context.
2008-12-22 13:27:01 +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
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