summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/cplusplus-lib.pri
Commit message (Collapse)AuthorAgeFilesLines
* Remove qmake build filesEike Ziller2022-01-201-86/+0
| | | | | | | | | | Removes qmake as a build system for building Qt Creator itself. Keep them for some tests that are not completely moved to CMake yet. Change-Id: I846c6ef65626b6dfae6375fdc85d00677aa8c2fb Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Utils: move code model icons to utilsDavid Schulz2018-08-061-2/+0
| | | | | | | In preperation for the language server protocol support. Change-Id: Iee4ccd53a86d9afdb357972ea62b75ace2edcb1d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* CPlusPlus: CppEditor: refactor overview modelIvan Donchevskii2018-02-091-4/+2
| | | | | | | | | | Introduce abstract model to be able to use clang based version of it in follow up patches. Fix warnings and modernize source code a little. Move OverviewModel to CppTools. Change-Id: Idcc9bf03cad047026a456bd01063597a1eb95147 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Fix exports for shared librariesMarco Bubke2017-01-161-1/+1
| | | | | | | | We use "shared" to define a shared library and not dll. Change-Id: Ia97ebd0042a7ef0f33eadaa448d9a44b42331ad1 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* C++: Revert lookup to 3.4.2Nikolai Kosjar2015-11-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...which was least buggy. The bugs fixed by the changes we revert here (highlighting/completion for code involving templates) were minor compared to ones we currently have. Those bugs will be addressed by the clang code model anyway. Relevant commits were collected via: $ cd ${QTC}/src/libs/cplusplus $ git log \ --no-merges \ --format=oneline \ v3.4.2..HEAD \ -- LookupContext.* ResolveExpression.* TypeResolver.* TypeOfExpression.* \ ../../plugins/cpptools/cppcompletion_test.cpp From this list the following were skipped due to irrelevance: 88c5b47e535d91f3db99882d5b50b263b46f223c # CppTools: Minor cleanup in completion tests e5255a1f5cac284c4f0d4a85203878c84da86e85 # CppTools: Add a test for ObjC not replacing dot with arrow 5b12c8d63a30e281274cdc267efabead2c736bd8 # CppTools: Support ObjC in member access operator tests 9fef4fb9ca4e65e20ff13b98bcf15e3c6232fdfb # CPlusPlus: Fix warnings about overriding visit(...) methods There were only minor conflicts while reverting those. This changes touches so many files because there were quite some cleanups and renames after the 3.4.2 release. Task-number: QTCREATORBUG-14889 Task-number: QTCREATORBUG-15211 Task-number: QTCREATORBUG-15213 Task-number: QTCREATORBUG-15257 Task-number: QTCREATORBUG-15264 Task-number: QTCREATORBUG-15291 Task-number: QTCREATORBUG-15329 Change-Id: I01f759f8f35ecb4228928a4f22086e279c1a5435 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
* C++: Remove DumpersOrgad Shaneh2015-05-121-2/+0
| | | | | | | Superseded by Overview Change-Id: I2ae193b1b9265ed59b73315486a35c53f6c8068f Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* C++: Remove DeprecatedGenTemplateInstanceOrgad Shaneh2015-04-201-2/+0
| | | | | | | It's, well, deprecated... Change-Id: Ie9d7e80345a8d9404f702dd877b3e940a1a49d93 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* C++: Extract TypedefsResolver out of ResolveExpressionOrgad Shaneh2015-04-111-0/+2
| | | | | | | ... and rename it TypeResolver Change-Id: I5cb076812d2e3ac132f18ea884ec69328b69999c Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
* Remove Qt version checks.Christian Kandeler2014-09-081-1/+1
| | | | | | | | Qt 5.3 is the minimum requirement these days. Remove all fallback code from sources and project files. Change-Id: If6188a471197acadda4d6baee71804ba1a8026c6 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* qml: moving most of ModelManager logic to ModelManageInterfaceFawzi Mohamed2014-02-191-2/+4
| | | | | | | | | | | | | | Currently ModelManager contains lot logic, but as it sits in QmlJSTools it is not possible to use it in standalone tests. Moving most of the logic to ModelManagerInterface (and cleanup) to allow better testing, and refactoring. This introduces a dependency of the qmljs lib on the cplusplus lib Also a (small) part of the CppTool::ModelManagerInterface has been moved to CPlusPlus::CppModelManagerBase to remove the dependency on CppTools to gather the Qml types exposed from C++. Change-Id: Icad7fe96dfd0f1a2b1058d82bd98c77c40aa5e9d Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
* fix include style relating to cplusplus librariesOswald Buddenhagen2013-04-031-1/+1
| | | | | | | | | | | ... and adjust INCLUDEPATH accordingly. while i'm at messing with include statements, also re-order the include blocks according to policy and sort them within bigger blocks. Change-Id: I7762abfd7c4ecf59432b99db2f424e4fa25733a5 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* C++: add include-guard tracking.Erik Verbruggen2013-01-181-0/+2
| | | | | | | | | | | | | | | | Track the typical #ifndef/#define/#endif usage in header files to see if the macro is an include guard. If so, store it in the Document. No behavioural change, just recording the name. This can be used in the future to track if a file needs to be re-parsed when a macro changes: if it was used in the file, and not defined in it nor being the include-guard, a file should be re-preprocessed and re-parsed. It can also be used to check if two files have the same include guard. Change-Id: I2715f529997a7b24a11bdbc6150652e2669f1a46 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
* Generalize QT_NO_CAST_FROM_ASCIIOrgad Shaneh2013-01-161-2/+0
| | | | | Change-Id: I2b6c5876cafb7cf19fc3040bc84fd88a90b6c0e0 Reviewed-by: hjk <qthjk@ovi.com>
* CPlusPlus: Compile with QT_NO_CAST_FROM_ASCIIOrgad Shaneh2012-12-041-0/+2
| | | | | | Change-Id: I1cfb413b7e88e91e9c4719a8a7b81c752c40767e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
* Refactoring LookupContext.hPrzemyslaw Gorszkowski2012-11-191-0/+1
| | | | | | | Extracting class AlreadyConsideredClassContainer to separate file Change-Id: If3bb89df5ce0bae87723ad4ecab7118337df0655 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
* Merge remote-tracking branch 'origin/2.5'Eike Ziller2012-07-241-2/+4
|\ | | | | | | | | | | | | Conflicts: src/libs/cplusplus/cplusplus-lib.pri Change-Id: I430ec8c6dda4afad3aedb1bc47d3af64537cfe66
| * C++: Add dumpers for common datatypes to simplify debugging.Christian Kamm2012-07-231-2/+4
| | | | | | | | | | Change-Id: I03f907dd0e8d9d63f0dfd38499c98296b5c7871a Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
* | [C++] Rewrite of the preprocessor.Erik Verbruggen2012-03-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | This rewrite fixes a couple of issues with the pre-processor. It now supports: - macros in macro bodies - stringification of parameters [cpp.stringize] - the concatenation operator [cpp.concat] - #include MACRO_HERE - defined() inside macro bodies used in pp-conditions. Change-Id: Ifdb78041fb6afadf44f939a4bd66ce2832b8601f Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* | Move the ModelManagerInterface out of the CPlusPlus library.Erik Verbruggen2012-03-141-6/+2
|/ | | | | Change-Id: Iffaa18f848a22f6961b49dff048672b194570df6 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Compile with Qt 5.Friedemann Kleint2012-02-081-0/+2
| | | | | | | | | | | | - QtQuick1 renaming. - Start on qtconcurrent split (pending renaming of Qt Creator's qtconcurrent library). - QWinEventNotifier is a public class in Qt 5. - Metatype system: Classes need to be known. Change-Id: I5582e7cc2777bf791a08b049262217055769c80f Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* C++ editor: Improve type hierarchy widgetLeandro Melo2011-07-081-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now the type hierarchy widget will also show the classes derived from the selected one. For consistency the way the base classes are shown was changed too. The diagram below is an example from Creator's code when openining the type hierarchy for BaseTextEditorWidget: Bases +QObject +QWidget +... BaseTextEditorWidget +QPaintDevice +... BaseTextEditorWidget Derived +BaseTextEditorWidget +VCSBaseEditorWidget GitEditor MercurialEditor ... GLSLEditorWidget CppEditorWidget QmlJSTextEditorWidget ... Depending on the project and on the selected class the hierarchy widget might take a bit to be constructed. This should be improved later. Change-Id: Ifbdd1cbbba955a0bdf03297ff0e7620351b12dc5 Reviewed-on: http://codereview.qt.nokia.com/883 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* move src/shared/cplusplus/ -> src/libs/3rdparty/cplusplus/Oswald Buddenhagen2011-05-161-1/+1
| | | | Approved-by: legal
* Class to find breakpoint positions for CDB.Erik Verbruggen2011-05-091-2/+8
| | | | Reviewed-by: Friedemann Kleint
* C++: Move the ModelManagerInterface from CppTools to CPlusPlus.Christian Kamm2011-01-041-2/+4
|
* Introduced CPlusPlus::SymbolNameVisitor and CPlusPlus::SnapshotSymbolVisitor.Roberto Raggi2010-12-151-0/+4
|
* C++: added quickfix to insert a method definition.Erik Verbruggen2010-09-301-4/+2
| | | | Reviewed-by: Christian Kamm
* Added the InsertionPointLocator.Erik Verbruggen2010-07-271-2/+4
| | | | | | For answers to questions about where to insert a snippet/chunk of C++ code. Ok, currently it will only find the One And Only place to insert method declarations in classes, and it will need some tuning.
* Introduced helpers to rewrite types and names.Roberto Raggi2010-07-161-0/+2
| | | | Done-with: Erik Verbruggen
* Moved CheckUndefinedSymbols to the cpptools plug-in.Roberto Raggi2010-07-051-2/+0
|
* Removed the TokenCache.Erik Verbruggen2010-07-021-4/+2
|
* Introduced token caching to prevent repetetive tokenizing.Erik Verbruggen2010-06-141-4/+4
| | | | | | Also removed TokenUnderCursor as it's functionality is in the token cache. Reviewed-by: ckamm
* Revert "Introduced a token cache for the C++ editor."Erik Verbruggen2010-06-041-4/+2
| | | | This reverts commit c2393df02332618c8cf6159d9d6f6a40041ced89.
* Introduced a token cache for the C++ editor.Erik Verbruggen2010-06-041-2/+4
| | | | | This should speed things up a bit, because before, the line was tokenized at least 3 times.
* Moved ASTPath to its own header/source files.Erik Verbruggen2010-05-281-0/+2
|
* Removed DeprecatedLookupContext.Roberto Raggi2010-05-261-2/+0
|
* Removed the CppBindings.Roberto Raggi2010-05-251-2/+0
|
* Deprecate the old template instantiation.Roberto Raggi2010-05-201-2/+2
|
* Initial work on the new LookupContext.Roberto Raggi2010-05-051-0/+2
|
* Moved CPlusPlus::LookupItem.Roberto Raggi2010-05-051-0/+2
|
* Deprecated the current LookupContext.Roberto Raggi2010-05-051-2/+2
|
* Put the include depenency table into a separate class, and cache it when ↵Erik Verbruggen2010-03-171-0/+2
| | | | possible.
* Introduced CPlusPlus::FindUsages.Roberto Raggi2009-10-271-0/+2
|
* Autotests: Compile on WindowsFriedemann Kleint2009-10-261-1/+6
| | | | Reviewed-by: Roberto Raggi <qtc-committer@nokia.com>
* Introduced CPlusPlus::GenTemplateInstance.Roberto Raggi2009-10-261-0/+2
|
* Added the helper class MatchingText and use it to automagically insert text ↵Roberto Raggi2009-09-171-0/+2
| | | | for curly braces.
* Added BackwardsScannerRoberto Raggi2009-09-171-0/+2
|
* Moved CheckUndefinedSymbols in libCPlusPlusRoberto Raggi2009-07-131-0/+2
|
* Introduced ASTparentRoberto Raggi2009-07-071-0/+2
|
* Introduced CPlusPlus::FastPreprocessor.Roberto Raggi2009-06-031-0/+2
|
* Initial work on the binding pass.Roberto Raggi2009-06-031-0/+2
|