aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljsannotation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use SPDX license identifiersLucie Gérard2022-06-111-27/+2
| | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I63563bbeb6f60f89d2c99660400dca7fab78a294 Reviewed-by: Shawn Rutledge <[email protected]>
* qmlcompiler: Use QT_BEGIN_NAMESPACE / QT_END_NAMESPACE everywhereMaximilian Goldstein2021-11-231-0/+4
| | | | | | | Some code was not properly wrapped in a namespace. Change-Id: If70fd9782391309c511b66ae01eae43cb36292ac Reviewed-by: Fabian Kosmale <[email protected]>
* qqmljsannotation: Use std::variant instead of QVariantMaximilian Goldstein2021-04-161-2/+2
| | | | | | | Makes it easier to reason about the values stored in QQmlJSAnnotation. Change-Id: I13bf8294a25f00edf78fad3b2b91fbc7a313d49e Reviewed-by: Ulf Hermann <[email protected]>
* qmllint: Implement deprecation warningsMaximilian Goldstein2021-03-081-0/+46
Make qmllint warn about @Deprecated {} annotations. Also adds support for annotations in qmlcompiler. [ChangeLog][QML][qmllint] Add support for deprecation annotations. Task-number: QTBUG-84895 Change-Id: Ia506a6c0077a2b9ab3bf4fdac207bd0540635b30 Reviewed-by: Ulf Hermann <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]>