summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/CppDocument.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Qml/C++: Allow dynamic uri in qmlRegisterType if fixed by Q_ASSERT.Christian Kamm2011-01-061-12/+134
| | | | Reviewed-by: Erik Verbruggen
* Qml-C++: Find C++ qmlRegisterType calls and populate QML code model.Christian Kamm2011-01-041-0/+116
| | | | Reviewed-by: Erik Verbruggen
* 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 some initial support for function overloading.Roberto Raggi2010-12-101-2/+4
| |
* | C++: implemented switch decl to def for operatorsErik Verbruggen2010-11-191-6/+29
|/ | | | | Task-number: QTCREATORBUG-2313 Reviewed-by: Roberto Raggi
* Renamed Symbol::scope() to Symbol::enclosingScope().Roberto Raggi2010-08-261-1/+1
|
* Renamed Symbol::identity() to Symbol::unqualifiedName().Roberto Raggi2010-08-261-1/+1
|
* Nicer implementation of Document::lastVisibleSymbolAt().Roberto Raggi2010-08-171-23/+41
|
* Get rid of the old Semantic pass.Roberto Raggi2010-08-131-1/+0
|
* Use the new binderRoberto Raggi2010-08-131-7/+5
|
* Get rid of the prefix findOrInsert for the functions in CPlusPlus::Control.Roberto Raggi2010-08-111-1/+1
|
* Merged ScopedSymbol and Scope.Roberto Raggi2010-08-111-19/+11
|
* Fixes for scope range calculation.Erik Verbruggen2010-07-191-2/+2
|
* Added comment.Erik Verbruggen2010-07-161-0/+1
|
* Introduced helpers to rewrite types and names.Roberto Raggi2010-07-161-2/+3
| | | | Done-with: Erik Verbruggen
* Fixed scope calculation in code completion.Erik Verbruggen2010-07-061-1/+2
|
* Fixed: "Follow symbol" on constructor or destructor always jumps to class ↵Roberto Raggi2010-07-051-12/+4
| | | | | | definition Task-number: QTCREATORBUG-1776
* C++: Make 'follow symbol' for classes work in more cases.Christian Kamm2010-06-181-3/+5
| | | | | | | Previously, it would still fail if a forward declaration and declaration for a class were in the same file. Task-number: QTCREATORBUG-20
* C++: Make 'follow symbol' work with forward declared classes.Christian Kamm2010-06-161-0/+23
| | | | | | | If it encounters a forward declaration, it tries to find the class declaration globally now. Task-number: QTCREATORBUG-20
* Fixed jump to the matching definition.Roberto Raggi2010-05-211-4/+7
|
* Turn on C++0x support.Roberto Raggi2010-05-211-1/+1
|
* Fixed scope discovery.Erik Verbruggen2010-05-201-3/+9
|
* Renamed Document::findSymbolAt().Roberto Raggi2010-05-171-4/+4
|
* Fixed Document::scopeAt() to always return a valid scope.Roberto Raggi2010-05-141-1/+3
|
* Improved LookupItem and get rid of some deprecated code.Roberto Raggi2010-05-141-2/+93
|
* Introduced Snapshot::findMatchingDefinition().Roberto Raggi2010-05-111-0/+121
|
* Removed deprecated method Snapshot::globalNamespaceBinding().Roberto Raggi2010-05-111-6/+0
|
* Disable C++0x support for nowThorbjørn Lindeijer2010-03-251-1/+1
| | | | | | | It introduced at least one new crash to do with recovering from parsing errors. Reviewed-by: Roberto Raggi
* Recognize C++0x lambda expressions.Roberto Raggi2010-03-241-0/+1
|
* Ensure that the memory pool can be reused after a rewind and get rid of the ↵Roberto Raggi2010-03-181-0/+5
| | | | segmented array.
* Put the include depenency table into a separate class, and cache it when ↵Erik Verbruggen2010-03-171-106/+0
| | | | possible.
* Long live the king!hjk2010-03-051-1/+1
|
* Enhance data stored for macros and macro uses.Christian Kamm2009-12-211-1/+29
| | | | | | | | | | | In preparation for finding macro uses. * Macro: add offset and length * MacroUse: add line * Document: add convenience functions for finding a macro definition, use or undefined use at a given location. Reviewed-by: Erik Verbruggen
* Use the text editor revision to ignore outdated parse results.Roberto Raggi2009-12-151-1/+13
|
* Removed the call to QDir::cleanPath.Roberto Raggi2009-12-071-1/+1
|
* Store the documents in an hash.Roberto Raggi2009-12-071-2/+2
|
* Initial work on the new CPlusPlus::Snapshot.Roberto Raggi2009-12-071-9/+38
| | | | Encapsulate the details.
* Rename dependsOn() in filesDepedingOn() and introduced ↵Roberto Raggi2009-12-021-26/+58
| | | | Snapshot::dependencyTable().
* Use const literals.Roberto Raggi2009-12-011-3/+3
|
* Refactored the AST visitors.Roberto Raggi2009-11-171-1/+1
| | | | Now, the ASTVisitor constructor takes a valid reference to a TranslationUnit.
* Merge commit 'origin/1.3'con2009-11-111-2/+8
|\ | | | | | | | | | | | | Conflicts: src/plugins/debugger/debuggermanager.h src/plugins/qmleditor/qmleditorplugin.cpp src/plugins/qt4projectmanager/qt4runconfiguration.cpp
| * Code model: Fix Windows issues (duplicate matches).Friedemann Kleint2009-11-091-2/+8
| | | | | | | | | | | | | | | | | | Ensure the code model receives file names with clean paths ('/') and fix paths in the relevant places of the code model. Pass on clean paths from Cpp reference find and display them correctly in the search window tooltip. Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* | Fixed the AST field names.Roberto Raggi2009-11-101-1/+1
| |
* | Removed DeclarationListAST node.Roberto Raggi2009-11-101-1/+1
|/ | | | Done with Erik Verbruggen
* Introduced CppTools::CppModelManagerInterface::updateModifiedFiles().Roberto Raggi2009-11-051-0/+12
| | | | updateModifiedFiles ckecks the timestamp and reparses all the modified files in the current snapshot.
* Store in the document's macroUsages only the top-level macro expansions.Roberto Raggi2009-10-151-1/+1
|
* Delay the parsing of the document.Roberto Raggi2009-09-301-1/+3
|
* Track more macro uses.Christian Kamm2009-09-251-1/+62
| | | | | | | | | | | | 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>
* long live the kinghjk2009-08-141-1/+1
|