summaryrefslogtreecommitdiff
path: root/src/tools/3rdparty/cplusplus-keywordgen
Commit message (Collapse)AuthorAgeFilesLines
* Remove qmake build filesEike Ziller2022-01-201-3/+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>
* CMake build: Do not install valgrind-fake and cplusplus-keywordgenEike Ziller2021-03-011-0/+1
| | | | | | | | These are Qt Creator developer tools Change-Id: I9bad103d9139dde2b7bed7fd2117b5e1455daa92 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* CMake: merge binary directories of sub projectsChristian Stenger2021-02-051-0/+1
| | | | | | | ...into top level. Exceptions are applied explicitly. Change-Id: I59c54967dffc0bef2e8cc05c73763fcf18c12517 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* C++: Fix cplusplus-keywordgen to generate Keywords.cppVolodymyr Zibarov2020-05-281-99/+300
| | | | | | | | | | | | | | | | | | | | | | | Fix kewordgen to generate current Keywords.cpp with minimal diff, but also to be compatible with old usage and kwgen files. Add new parameters: %no-namespace-for-tokens - not use namespace for tokens %pre-check-argument - set type and name of additional variable to use %function-name - name of a function ("classify" by default) %pre-check - name of a variable to check for a keyword (i.e. cxxEnabled) Now "%%" is also used to end and restart keywords parsing to be able to generate additional keywords for classifyOperator() Automatically add checks for LanguageFeatures to generated code Pass input and output files with command line arguments, print usage Update Keywords.kwgen to include all keywords currently used Add missing aliases to Token.h Change-Id: I6cc84e150e0d797277204032fc05ce9cfbd01f58 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* C++ Tools: apply clang-format on cplusplus-keywordgen.cppVolodymyr Zibarov2020-05-271-234/+255
| | | | | | | | There is no history for this file after it was moved, so there's no harm of beautifying it to be able to read and change. Change-Id: Iec2ad5bc9d8553589b2d2512f69991f772808d89 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Qt Creator CMake portCristian Adam2019-05-171-0/+5
| | | | | | | | | | | | | | Based on Tobias Hunger's work from a few months ago. The CMake configuration needs libclang and Qt paths specified as CMAKE_PREFIX_PATH. Auto tests are run with "ctest". At the moment the pass rate is 87%. Change-Id: Iba98e39bf22077d52706dce6c85986be67a6eab0 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* C++: Fix compile warningNikolai Kosjar2016-04-151-1/+1
| | | | | | | | | | | ...with clang: cplusplus-keywordgen.cpp:74:1: warning: 'State' defined as a struct here but previously declared as a class [-Wmismatched-tags] Change-Id: Ibf95439e060a5bb32f0aae7d3f3a34c8821165bd Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* C++: Move cplusplus-keywordgen into src/tools/3rdpartyNikolai Kosjar2016-04-073-0/+342
Change-Id: I9a669497d4ec5db6ade270c272bf52a365cfc7fe Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>