summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/ASTMatcher.cpp
Commit message (Collapse)AuthorAgeFilesLines
* move src/shared/cplusplus/ -> src/libs/3rdparty/cplusplus/Oswald Buddenhagen2011-05-161-2850/+0
| | | | Approved-by: legal
* Fix/add copyright headersTobias Hunger2011-05-061-1/+1
| | | | Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
* Update license.hjk2011-04-131-14/+13
|
* It's 2011 now.con2011-01-121-1/+1
| | | | Reviewed-by: hjk
* C++: Add parsing of Q_PRIVATE_PROPERTY.Christian Kamm2011-01-041-0/+7
| | | | Reviewed-by: Roberto Raggi
* Merge branch '2.1'con2010-12-171-7/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/coreplugin/basemode.cpp src/plugins/coreplugin/basemode.h src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp src/plugins/debugger/debuggeragents.cpp src/plugins/debugger/debuggeruiswitcher.cpp src/plugins/debugger/debuggeruiswitcher.h src/plugins/projectexplorer/buildconfigdialog.cpp src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp src/plugins/qmldesigner/components/propertyeditor/colorwidget.h src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h src/plugins/qmldesigner/designercore/include/modelutilities.h src/plugins/qmldesigner/designercore/include/nodeinstance.h src/plugins/qmldesigner/designercore/include/propertymetainfo.h src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp src/plugins/qmldesigner/designercore/model/modelutilities.cpp src/plugins/snippets/inputwidget.cpp src/plugins/snippets/snippetscompletion.cpp src/plugins/snippets/snippetscompletion.h src/plugins/snippets/snippetspec.cpp src/plugins/snippets/snippetsplugin.cpp src/plugins/snippets/snippetswindow.cpp src/plugins/snippets/snippetswindow.h src/plugins/texteditor/snippetsparser.cpp src/tools/qml/qmldom/main.cpp tests/manual/trk/runner.cpp tests/manual/trk/trkolddevice.cpp tests/manual/trk/trkolddevice.h tests/manual/trk/trkserver.cpp
| * License headers.con2010-12-171-7/+11
| |
* | Added semantic checks for stray semicolons and topldevel empty declarations.Roberto Raggi2010-12-161-0/+2
|/
* Some cleanup in the C++ AST.Roberto Raggi2010-08-261-12/+12
|
* Renamed DeclaratorAST::equals_tokenRoberto Raggi2010-08-161-1/+1
|
* Remember the T_TEMPLATE token we use to force the parser to recognize a ↵Roberto Raggi2010-08-121-0/+2
| | | | template-id.
* Introduced IdExpressionAST.Roberto Raggi2010-08-021-0/+13
|
* Regenerated firstToken/lastToken methods.Erik Verbruggen2010-06-241-0/+2
|
* Get rid of PostfixExpressionAST and store the base expression together with ↵Roberto Raggi2010-06-231-18/+20
| | | | the PostfixAST nodes.
* Parse C++ 0x argument packs.Roberto Raggi2010-03-251-0/+21
|
* Accepts `...' when parsing declarator-ids in C++0x.Roberto Raggi2010-03-251-0/+2
|
* Accepts trailing return types.Roberto Raggi2010-03-241-0/+5
|
* Recognize C++0x lambda expressions.Roberto Raggi2010-03-241-0/+120
|
* Added attributes to the elaborate-type-specifier AST node.Erik Verbruggen2010-03-231-0/+5
|
* Parse C++0x type-parameters.Roberto Raggi2010-03-231-0/+4
|
* Parse C++0x base-specifier-list.Roberto Raggi2010-03-231-0/+4
|
* Recognize C++0x rvalue references.Roberto Raggi2010-03-231-1/+1
|
* Renamed the CompoundExpressionAST::compoundStatement.Roberto Raggi2010-03-231-3/+3
|
* Parse and create AST nodes for the Q_MOC_RUN extensions.Roberto Raggi2010-03-171-0/+42
|
* Added parser support for Q_INTERFACES.Erik Verbruggen2010-03-171-0/+37
|
* Long live the king!hjk2010-03-051-1/+1
|
* Simplified ObjC selectors in the AST.Erik Verbruggen2010-02-231-35/+25
|
* Fixed Q_PROPERTY parsing to handle all possible cases.Erik Verbruggen2010-02-161-24/+5
|
* Revert "Split Objective-C keyword parsing to handle the '@' separately."Erik Verbruggen2010-02-151-26/+0
| | | | This reverts commit 2a59d2ae0c889fe6e4ac50a3f110b0103f880c15.
* Revert "Added Objective-C @try block parsing."Erik Verbruggen2010-02-151-87/+0
| | | | This reverts commit f4163b8ba01cd1a4f5d91c83a3863939b7809375.
* Added Objective-C @try block parsing.Erik Verbruggen2010-02-151-0/+87
|
* Split Objective-C keyword parsing to handle the '@' separately.Erik Verbruggen2010-02-151-0/+26
| | | | | | | | | | | | | | | | | | | | | | Because apparently, while designing the Objective-C language, somebody thought it was a world-class idea to allow any white-space between the '@' character and the subsequent keyword. With this fix, we now correctly parse: @ dynamic and: @ selector and: @"foo" "bar" @"mooze" (This last one is 1 single string split over multiple lines.) Wonderful, isn't it? What we (and Clang) do not support, but what GCC supports is something like: @"foo"@@ "bar" @"mooze" @@ which is equivalent to @"foobarmooze".
* Removed Q_DECLARE_FLAGS parsing, leaving it to the CPP to expand it.Erik Verbruggen2010-02-081-26/+0
|
* Changed ObjC message arguments to have SimpleName for the name part.Erik Verbruggen2010-02-081-1/+4
|
* Changed Q_PROPERTY parsing and AST storage.Erik Verbruggen2010-02-071-57/+36
|
* Added semantic checks for Q_ENUMS.Erik Verbruggen2010-02-071-3/+3
|
* Simplified Q_FLAGS and Q_DECLARE_FLAGS parsing.Erik Verbruggen2010-02-071-7/+15
|
* Reworked parts of the QtPropertyDeclaration parsing and handling.Erik Verbruggen2010-02-071-12/+62
|
* Added AST nodes for compound expressions (a GNU extension).Erik Verbruggen2010-02-071-0/+17
|
* Removed #ifdefs so all AST nodes are always there.Erik Verbruggen2010-02-041-7/+45
| | | | | | Also removed the (conditional) invoke_token from DeclarationAST and use the qt_invokable_token to store the Q_INVOKABLE, and fixed the ASTMatch code generation.
* Merge ichecker branch changes into the mainline. New project can be found ↵Wolfgang Beck2010-01-191-0/+66
| | | | under src/tools/ICheck
* Fixed semantic check for ObjC fast-enumeration for-loops, then merged it ↵Erik Verbruggen2010-01-111-3/+3
| | | | with the semantic check for the foreach.
* Inital support for Q_D/Q_Q declarations.Roberto Raggi2009-11-301-0/+19
|
* Get rid off translationUnitRoberto Raggi2009-11-251-4/+1
|
* Introduced destructive pattern matching.Roberto Raggi2009-11-161-712/+1617
|
* Match the value of the literals.Roberto Raggi2009-11-131-0/+3
|
* Fixed parsing of ctor-initializers and added a manual test for the AST matchersRoberto Raggi2009-11-131-2/+3
|
* Pass the translation units to the matcher.Roberto Raggi2009-11-131-50/+8
|
* Also match the identifiers and the token types.Roberto Raggi2009-11-131-251/+264
|
* Fixed the generator.Roberto Raggi2009-11-131-2/+0
|