summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/AST.cpp
Commit message (Collapse)AuthorAgeFilesLines
* move src/shared/cplusplus/ -> src/libs/3rdparty/cplusplus/Oswald Buddenhagen2011-05-161-4252/+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/+10
| | | | 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/+4
|/
* C++: fixed completion in braceless statements following a control statement.Erik Verbruggen2010-09-091-153/+153
| | | | | | | | | | | - Changed generator to generate: - Changed AST::lastToken to return 1 if there is none - Changed Bind.cpp to set the scope of the block following a control statement to extend upto (and not including) the first token after the block. So basically, including any whitespace after the control statement. Reviewed-by: Roberto Raggi
* Some cleanup in the C++ AST.Roberto Raggi2010-08-261-16/+16
|
* Renamed DeclaratorAST::equals_tokenRoberto Raggi2010-08-161-4/+4
|
* Remember the T_TEMPLATE token we use to force the parser to recognize a ↵Roberto Raggi2010-08-121-0/+4
| | | | template-id.
* Introduced IdExpressionAST.Roberto Raggi2010-08-021-0/+18
|
* Fixed possible crash when asking for the firstToken of an incomplete base ↵Roberto Raggi2010-07-051-1/+4
| | | | class specifier.
* Regenerated firstToken/lastToken methods.Erik Verbruggen2010-06-241-1467/+3054
|
* Fixed fistToken/lastToken for BaseSpecifierAST.Erik Verbruggen2010-06-231-1/+5
|
* Renamed LambdaCapture::default_capture.Roberto Raggi2010-06-231-4/+4
|
* Get rid of PostfixExpressionAST and store the base expression together with ↵Roberto Raggi2010-06-231-16/+22
| | | | the PostfixAST nodes.
* Return valid tokens for the Objc nodes.Roberto Raggi2010-06-031-21/+55
|
* Fixed ClassSpecifierAST::lastToken() to return a valid token.Roberto Raggi2010-06-011-3/+6
|
* Parse C++ 0x argument packs.Roberto Raggi2010-03-251-0/+19
|
* Recognize C++0x sizeof... expressions.Roberto Raggi2010-03-251-1/+11
|
* Accepts `...' when parsing declarator-ids in C++0x.Roberto Raggi2010-03-251-1/+11
|
* Accepts trailing return types.Roberto Raggi2010-03-241-1/+4
|
* Recognize C++0x lambda expressions.Roberto Raggi2010-03-241-0/+116
|
* Added attributes to the elaborate-type-specifier AST node.Erik Verbruggen2010-03-231-0/+2
|
* Parse C++0x type-parameters.Roberto Raggi2010-03-231-0/+5
|
* Parse C++0x base-specifier-list.Roberto Raggi2010-03-231-0/+3
|
* Parse C++0x mem-initializer-list.Roberto Raggi2010-03-231-1/+3
|
* Recognize C++0x rvalue references.Roberto Raggi2010-03-231-2/+2
|
* Renamed the CompoundExpressionAST::compoundStatement.Roberto Raggi2010-03-231-2/+2
|
* Parse and create AST nodes for the Q_MOC_RUN extensions.Roberto Raggi2010-03-171-0/+36
|
* Added parser support for Q_INTERFACES.Erik Verbruggen2010-03-171-1/+38
|
* Long live the king!hjk2010-03-051-1/+1
|
* Simplified ObjC selectors in the AST.Erik Verbruggen2010-02-231-20/+9
|
* Fixed Q_PROPERTY parsing to handle all possible cases.Erik Verbruggen2010-02-161-27/+4
|
* Revert "Split Objective-C keyword parsing to handle the '@' separately."Erik Verbruggen2010-02-151-54/+27
| | | | This reverts commit 2a59d2ae0c889fe6e4ac50a3f110b0103f880c15.
* Revert "Added Objective-C @try block parsing."Erik Verbruggen2010-02-151-60/+1
| | | | This reverts commit f4163b8ba01cd1a4f5d91c83a3863939b7809375.
* Added Objective-C @try block parsing.Erik Verbruggen2010-02-151-1/+60
|
* Split Objective-C keyword parsing to handle the '@' separately.Erik Verbruggen2010-02-151-27/+54
| | | | | | | | | | | | | | | | | | | | | | 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-21/+0
|
* Changed ObjC message arguments to have SimpleName for the name part.Erik Verbruggen2010-02-081-3/+3
|
* Changed Q_PROPERTY parsing and AST storage.Erik Verbruggen2010-02-071-5/+77
|
* Reworked parts of the QtPropertyDeclaration parsing and handling.Erik Verbruggen2010-02-071-8/+8
|
* Added AST nodes for compound expressions (a GNU extension).Erik Verbruggen2010-02-071-2/+14
|
* Removed #ifdefs so all AST nodes are always there.Erik Verbruggen2010-02-041-2/+0
| | | | | | 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.
* Added clone methods to the AST.Erik Verbruggen2010-02-021-8/+8
|
* Merge remote branch 'origin/1.3'Oswald Buddenhagen2010-01-291-1/+1
|\ | | | | | | Trailing whitespace removal re-applied manually.
* | Merge ichecker branch changes into the mainline. New project can be found ↵Wolfgang Beck2010-01-191-1/+44
| | | | | | | | under src/tools/ICheck
* | Fixed semantic check for ObjC fast-enumeration for-loops, then merged it ↵Erik Verbruggen2010-01-111-2/+2
| | | | | | | | with the semantic check for the foreach.