Commit Graph

31 Commits

Author SHA1 Message Date
Roberto Raggi
2a0f901e16 Use the document in the snapshot when available. 2010-05-25 17:15:22 +02:00
Roberto Raggi
e6c377c75c New implementation of CheckUndefinedSymbols. 2010-05-25 17:15:22 +02:00
Roberto Raggi
73e9f14a63 Add aliases to the list of the potential types. 2010-05-06 14:05:40 +02:00
Roberto Raggi
94f667dd7f Add namespace aliases to the list of the potential types. 2010-05-05 17:09:47 +02:00
Erik Verbruggen
933e52888e Revert "Fixed possible crash in dangling pointers in namespaces."
Main reason is that find-usages and refactoring broke completely.
Second reason is that concurrent modification was done on the
children-list while deleting/destructing.

This reverts commit b0b95f8875.
2010-03-24 17:05:39 +01:00
Erik Verbruggen
b0b95f8875 Fixed possible crash in dangling pointers in namespaces.
Patch by: Bill King
2010-03-23 13:53:22 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Erik Verbruggen
1af05166d9 Removed Q_DECLARE_FLAGS parsing, leaving it to the CPP to expand it. 2010-02-08 15:41:18 +01:00
Erik Verbruggen
21488e8898 Added semantic checks for Q_ENUMS. 2010-02-07 10:49:03 +01:00
Erik Verbruggen
8d8b05da5a Reworked parts of the QtPropertyDeclaration parsing and handling. 2010-02-07 10:49:03 +01:00
con
7081a3d415 Merge remote branch 'origin/1.3'
Conflicts:
	src/plugins/projectexplorer/outputwindow.cpp
2009-12-14 11:47:39 +01:00
Roberto Raggi
22d75c4c20 Fixed: Template argument marked as "not a type name" when defined as primitive type
Task-number: QTCREATORBUG-384
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-12-08 13:06:17 +01:00
Roberto Raggi
7c7ce13ac0 Use const names. 2009-12-01 12:46:23 +01:00
Roberto Raggi
fade61a8a9 Use const literals. 2009-12-01 11:46:36 +01:00
Roberto Raggi
5d7def6d2a Refactored the AST visitors.
Now, the ASTVisitor constructor takes a valid reference to a TranslationUnit.
2009-11-17 13:30:39 +01:00
Roberto Raggi
5dcf449afd Initial work on the pattern matcher for AST nodes. 2009-11-12 18:03:05 +01:00
Erik Verbruggen
a6bbec2b56 Added symbols for property declarations. 2009-11-11 09:34:10 +01:00
Roberto Raggi
0ae2d96a9b Fixed the AST field names. 2009-11-10 16:47:16 +01:00
Roberto Raggi
cdb1443219 Cleanup specifiers. 2009-11-10 16:20:13 +01:00
Roberto Raggi
24b6c858eb Cleanup postfix declarators. 2009-11-10 16:20:12 +01:00
Roberto Raggi
1dbdbbefe7 Cleanup base base specifiers. 2009-11-10 16:20:11 +01:00
Roberto Raggi
496ff15db3 Removed ObjCIdentifierListAST
Done with Erik Verbruggen
2009-11-10 16:20:10 +01:00
Roberto Raggi
36a0ea2bcb Removed DeclarationListAST node.
Done with Erik Verbruggen
2009-11-10 16:20:09 +01:00
Roberto Raggi
4089c906fa Removed the ExpressionListAST node.
Done with Erik Verbruggen
2009-11-10 16:20:09 +01:00
Erik Verbruggen
f1e665463b Added protocol & class definedness checks, and added property attribute checks. 2009-10-05 18:02:01 +02:00
Erik Verbruggen
b43f279227 Fixed type checking for type definitions inside an @implementation 2009-10-05 17:55:02 +02:00
Roberto Raggi
ee16c21067 Look at the typedefs defined in local scopes. 2009-08-26 14:22:00 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Erik Verbruggen
26267c0344 Improved ObjC parsing, and added semantic checks. 2009-07-28 16:34:15 +02:00
Roberto Raggi
00f7cdac36 Search for type names in template type and template-template-type parameters. 2009-07-13 12:26:44 +02:00
Roberto Raggi
a446e06742 Moved CheckUndefinedSymbols in libCPlusPlus 2009-07-13 11:41:12 +02:00