forked from qt-creator/qt-creator
ClangCodeModel: Highlight Q_PROPERTY declarations with clangd
We re-use the moc parser for this purpose. Change-Id: Ib0ef4f727d1f0b862a202a95a3ae9c551cb502a5 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -66,6 +66,8 @@ QtcPlugin {
|
||||
"clangdiagnostictooltipwidget.h",
|
||||
"clangdlocatorfilters.cpp",
|
||||
"clangdlocatorfilters.h",
|
||||
"clangdqpropertyhighlighter.cpp",
|
||||
"clangdqpropertyhighlighter.h",
|
||||
"clangdquickfixfactory.cpp",
|
||||
"clangdquickfixfactory.h",
|
||||
"clangeditordocumentparser.cpp",
|
||||
@@ -106,6 +108,29 @@ QtcPlugin {
|
||||
"clangutils.h",
|
||||
]
|
||||
|
||||
Group {
|
||||
name: "moc sources"
|
||||
prefix: "moc/"
|
||||
files: [
|
||||
"parser.cpp",
|
||||
"parser.h",
|
||||
"preprocessor.cpp",
|
||||
"preprocessor.h",
|
||||
"symbols.h",
|
||||
"token.cpp",
|
||||
"token.h",
|
||||
"utils.h",
|
||||
]
|
||||
Group {
|
||||
name: "weirdly-named moc headers"
|
||||
files: [
|
||||
"keywords.cpp",
|
||||
"ppkeywords.cpp",
|
||||
]
|
||||
fileTags: "hpp"
|
||||
}
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Tests"
|
||||
condition: qtc.testsEnabled
|
||||
|
||||
Reference in New Issue
Block a user