forked from qt-creator/qt-creator
Clang: Use "clang" prefix plugin files
...for consistency and to avoid future file name clashes. Change-Id: If595c8debfa1ceb01a1bb0ed34649fa513660503 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
@@ -28,9 +28,9 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "activationsequencecontextprocessor.h"
|
#include "clangactivationsequencecontextprocessor.h"
|
||||||
|
|
||||||
#include "activationsequenceprocessor.h"
|
#include "clangactivationsequenceprocessor.h"
|
||||||
|
|
||||||
#include <cplusplus/BackwardsScanner.h>
|
#include <cplusplus/BackwardsScanner.h>
|
||||||
#include <cplusplus/ExpressionUnderCursor.h>
|
#include <cplusplus/ExpressionUnderCursor.h>
|
@@ -28,7 +28,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "activationsequenceprocessor.h"
|
#include "clangactivationsequenceprocessor.h"
|
||||||
|
|
||||||
namespace ClangCodeModel {
|
namespace ClangCodeModel {
|
||||||
namespace Internal {
|
namespace Internal {
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "clangassistproposalitem.h"
|
#include "clangassistproposalitem.h"
|
||||||
|
|
||||||
#include "completionchunkstotextconverter.h"
|
#include "clangcompletionchunkstotextconverter.h"
|
||||||
|
|
||||||
#include <cplusplus/MatchingText.h>
|
#include <cplusplus/MatchingText.h>
|
||||||
#include <cplusplus/Token.h>
|
#include <cplusplus/Token.h>
|
||||||
|
@@ -6,8 +6,8 @@ DEFINES += CLANG_VERSION=\\\"$${LLVM_VERSION}\\\"
|
|||||||
DEFINES += "\"CLANG_RESOURCE_DIR=\\\"$${LLVM_LIBDIR}/clang/$${LLVM_VERSION}/include\\\"\""
|
DEFINES += "\"CLANG_RESOURCE_DIR=\\\"$${LLVM_LIBDIR}/clang/$${LLVM_VERSION}/include\\\"\""
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
activationsequencecontextprocessor.cpp \
|
clangactivationsequencecontextprocessor.cpp \
|
||||||
activationsequenceprocessor.cpp \
|
clangactivationsequenceprocessor.cpp \
|
||||||
clangassistproposal.cpp \
|
clangassistproposal.cpp \
|
||||||
clangassistproposalitem.cpp \
|
clangassistproposalitem.cpp \
|
||||||
clangassistproposalmodel.cpp \
|
clangassistproposalmodel.cpp \
|
||||||
@@ -16,6 +16,7 @@ SOURCES += \
|
|||||||
clangcompletionassistinterface.cpp \
|
clangcompletionassistinterface.cpp \
|
||||||
clangcompletionassistprocessor.cpp \
|
clangcompletionassistprocessor.cpp \
|
||||||
clangcompletionassistprovider.cpp \
|
clangcompletionassistprovider.cpp \
|
||||||
|
clangcompletionchunkstotextconverter.cpp \
|
||||||
clangcompletioncontextanalyzer.cpp \
|
clangcompletioncontextanalyzer.cpp \
|
||||||
clangdiagnosticfilter.cpp \
|
clangdiagnosticfilter.cpp \
|
||||||
clangdiagnosticmanager.cpp \
|
clangdiagnosticmanager.cpp \
|
||||||
@@ -24,17 +25,16 @@ SOURCES += \
|
|||||||
clangfixitoperation.cpp \
|
clangfixitoperation.cpp \
|
||||||
clangfixitoperationsextractor.cpp \
|
clangfixitoperationsextractor.cpp \
|
||||||
clangfunctionhintmodel.cpp \
|
clangfunctionhintmodel.cpp \
|
||||||
|
clanghighlightingmarksreporter.cpp \
|
||||||
clangmodelmanagersupport.cpp \
|
clangmodelmanagersupport.cpp \
|
||||||
clangprojectsettings.cpp \
|
clangprojectsettings.cpp \
|
||||||
clangprojectsettingspropertiespage.cpp \
|
clangprojectsettingspropertiespage.cpp \
|
||||||
clangtextmark.cpp \
|
clangtextmark.cpp \
|
||||||
clangutils.cpp \
|
clangutils.cpp
|
||||||
completionchunkstotextconverter.cpp \
|
|
||||||
highlightingmarksreporter.cpp
|
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
activationsequencecontextprocessor.h \
|
clangactivationsequencecontextprocessor.h \
|
||||||
activationsequenceprocessor.h \
|
clangactivationsequenceprocessor.h \
|
||||||
clangassistproposal.h \
|
clangassistproposal.h \
|
||||||
clangassistproposalitem.h \
|
clangassistproposalitem.h \
|
||||||
clangassistproposalmodel.h \
|
clangassistproposalmodel.h \
|
||||||
@@ -43,7 +43,9 @@ HEADERS += \
|
|||||||
clangcompletionassistinterface.h \
|
clangcompletionassistinterface.h \
|
||||||
clangcompletionassistprocessor.h \
|
clangcompletionassistprocessor.h \
|
||||||
clangcompletionassistprovider.h \
|
clangcompletionassistprovider.h \
|
||||||
|
clangcompletionchunkstotextconverter.h \
|
||||||
clangcompletioncontextanalyzer.h \
|
clangcompletioncontextanalyzer.h \
|
||||||
|
clangconstants.h \
|
||||||
clangdiagnosticfilter.h \
|
clangdiagnosticfilter.h \
|
||||||
clangdiagnosticmanager.h \
|
clangdiagnosticmanager.h \
|
||||||
clangeditordocumentparser.h \
|
clangeditordocumentparser.h \
|
||||||
@@ -51,14 +53,12 @@ HEADERS += \
|
|||||||
clangfixitoperation.h \
|
clangfixitoperation.h \
|
||||||
clangfixitoperationsextractor.h \
|
clangfixitoperationsextractor.h \
|
||||||
clangfunctionhintmodel.h \
|
clangfunctionhintmodel.h \
|
||||||
|
clanghighlightingmarksreporter.h \
|
||||||
clangmodelmanagersupport.h \
|
clangmodelmanagersupport.h \
|
||||||
clangprojectsettings.h \
|
clangprojectsettings.h \
|
||||||
clangprojectsettingspropertiespage.h \
|
clangprojectsettingspropertiespage.h \
|
||||||
clangtextmark.h \
|
clangtextmark.h \
|
||||||
clangutils.h \
|
clangutils.h \
|
||||||
completionchunkstotextconverter.h \
|
|
||||||
constants.h \
|
|
||||||
highlightingmarksreporter.h
|
|
||||||
|
|
||||||
FORMS += clangprojectsettingspropertiespage.ui
|
FORMS += clangprojectsettingspropertiespage.ui
|
||||||
|
|
||||||
|
@@ -36,10 +36,10 @@ QtcPlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
"activationsequencecontextprocessor.cpp",
|
"clangactivationsequencecontextprocessor.cpp",
|
||||||
"activationsequencecontextprocessor.h",
|
"clangactivationsequencecontextprocessor.h",
|
||||||
"activationsequenceprocessor.cpp",
|
"clangactivationsequenceprocessor.cpp",
|
||||||
"activationsequenceprocessor.h",
|
"clangactivationsequenceprocessor.h",
|
||||||
"clangassistproposal.cpp",
|
"clangassistproposal.cpp",
|
||||||
"clangassistproposal.h",
|
"clangassistproposal.h",
|
||||||
"clangassistproposalitem.cpp",
|
"clangassistproposalitem.cpp",
|
||||||
@@ -56,8 +56,11 @@ QtcPlugin {
|
|||||||
"clangcompletionassistprocessor.h",
|
"clangcompletionassistprocessor.h",
|
||||||
"clangcompletionassistprovider.cpp",
|
"clangcompletionassistprovider.cpp",
|
||||||
"clangcompletionassistprovider.h",
|
"clangcompletionassistprovider.h",
|
||||||
|
"clangcompletionchunkstotextconverter.cpp",
|
||||||
|
"clangcompletionchunkstotextconverter.h",
|
||||||
"clangcompletioncontextanalyzer.cpp",
|
"clangcompletioncontextanalyzer.cpp",
|
||||||
"clangcompletioncontextanalyzer.h",
|
"clangcompletioncontextanalyzer.h",
|
||||||
|
"clangconstants.h",
|
||||||
"clangdiagnosticfilter.cpp",
|
"clangdiagnosticfilter.cpp",
|
||||||
"clangdiagnosticfilter.h",
|
"clangdiagnosticfilter.h",
|
||||||
"clangdiagnosticmanager.cpp",
|
"clangdiagnosticmanager.cpp",
|
||||||
@@ -72,6 +75,8 @@ QtcPlugin {
|
|||||||
"clangfixitoperationsextractor.h",
|
"clangfixitoperationsextractor.h",
|
||||||
"clangfunctionhintmodel.cpp",
|
"clangfunctionhintmodel.cpp",
|
||||||
"clangfunctionhintmodel.h",
|
"clangfunctionhintmodel.h",
|
||||||
|
"clanghighlightingmarksreporter.cpp",
|
||||||
|
"clanghighlightingmarksreporter.h",
|
||||||
"clangmodelmanagersupport.cpp",
|
"clangmodelmanagersupport.cpp",
|
||||||
"clangmodelmanagersupport.h",
|
"clangmodelmanagersupport.h",
|
||||||
"clangprojectsettings.cpp",
|
"clangprojectsettings.cpp",
|
||||||
@@ -83,11 +88,6 @@ QtcPlugin {
|
|||||||
"clangtextmark.h",
|
"clangtextmark.h",
|
||||||
"clangutils.cpp",
|
"clangutils.cpp",
|
||||||
"clangutils.h",
|
"clangutils.h",
|
||||||
"completionchunkstotextconverter.cpp",
|
|
||||||
"completionchunkstotextconverter.h",
|
|
||||||
"constants.h",
|
|
||||||
"highlightingmarksreporter.cpp",
|
|
||||||
"highlightingmarksreporter.h",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
|
@@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
#include "clangcodemodelplugin.h"
|
#include "clangcodemodelplugin.h"
|
||||||
|
|
||||||
|
#include "clangconstants.h"
|
||||||
#include "clangprojectsettingspropertiespage.h"
|
#include "clangprojectsettingspropertiespage.h"
|
||||||
#include "constants.h"
|
|
||||||
|
|
||||||
#ifdef WITH_TESTS
|
#ifdef WITH_TESTS
|
||||||
# include "test/clangcodecompletion_test.h"
|
# include "test/clangcodecompletion_test.h"
|
||||||
|
@@ -1,17 +1,19 @@
|
|||||||
INCLUDEPATH += $$PWD
|
INCLUDEPATH += $$PWD
|
||||||
|
|
||||||
SOURCES += $$PWD/completionchunkstotextconverter.cpp \
|
SOURCES += \
|
||||||
$$PWD/activationsequenceprocessor.cpp \
|
$$PWD/clangactivationsequencecontextprocessor.cpp \
|
||||||
$$PWD/activationsequencecontextprocessor.cpp \
|
$$PWD/clangactivationsequenceprocessor.cpp \
|
||||||
$$PWD/clangcompletioncontextanalyzer.cpp \
|
$$PWD/clangcompletionchunkstotextconverter.cpp \
|
||||||
$$PWD/clangdiagnosticfilter.cpp \
|
$$PWD/clangcompletioncontextanalyzer.cpp \
|
||||||
$$PWD/clangfixitoperation.cpp \
|
$$PWD/clangdiagnosticfilter.cpp \
|
||||||
$$PWD/highlightingmarksreporter.cpp
|
$$PWD/clangfixitoperation.cpp \
|
||||||
|
$$PWD/clanghighlightingmarksreporter.cpp
|
||||||
|
|
||||||
HEADERS += $$PWD/completionchunkstotextconverter.h \
|
HEADERS += \
|
||||||
$$PWD/activationsequenceprocessor.h \
|
$$PWD/clangactivationsequencecontextprocessor.h \
|
||||||
$$PWD/activationsequencecontextprocessor.h \
|
$$PWD/clangactivationsequenceprocessor.h \
|
||||||
$$PWD/clangcompletioncontextanalyzer.h \
|
$$PWD/clangcompletionchunkstotextconverter.h \
|
||||||
$$PWD/clangdiagnosticfilter.h \
|
$$PWD/clangcompletioncontextanalyzer.h \
|
||||||
$$PWD/clangfixitoperation.h \
|
$$PWD/clangdiagnosticfilter.h \
|
||||||
$$PWD/highlightingmarksreporter.h
|
$$PWD/clangfixitoperation.h \
|
||||||
|
$$PWD/clanghighlightingmarksreporter.h
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "clangassistproposalitem.h"
|
#include "clangassistproposalitem.h"
|
||||||
|
|
||||||
#include "activationsequenceprocessor.h"
|
#include "clangactivationsequenceprocessor.h"
|
||||||
#include "clangassistproposal.h"
|
#include "clangassistproposal.h"
|
||||||
#include "clangassistproposalmodel.h"
|
#include "clangassistproposalmodel.h"
|
||||||
#include "clangcompletionassistprocessor.h"
|
#include "clangcompletionassistprocessor.h"
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
#include "clangeditordocumentprocessor.h"
|
#include "clangeditordocumentprocessor.h"
|
||||||
#include "clangfunctionhintmodel.h"
|
#include "clangfunctionhintmodel.h"
|
||||||
#include "clangutils.h"
|
#include "clangutils.h"
|
||||||
#include "completionchunkstotextconverter.h"
|
#include "clangcompletionchunkstotextconverter.h"
|
||||||
|
|
||||||
#include <utils/qtcassert.h>
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "completionchunkstotextconverter.h"
|
#include "clangcompletionchunkstotextconverter.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <functional>
|
#include <functional>
|
@@ -31,8 +31,8 @@
|
|||||||
|
|
||||||
#include "clangcompletioncontextanalyzer.h"
|
#include "clangcompletioncontextanalyzer.h"
|
||||||
|
|
||||||
#include "activationsequenceprocessor.h"
|
#include "clangactivationsequencecontextprocessor.h"
|
||||||
#include "activationsequencecontextprocessor.h"
|
#include "clangactivationsequenceprocessor.h"
|
||||||
|
|
||||||
#include <texteditor/codeassist/assistinterface.h>
|
#include <texteditor/codeassist/assistinterface.h>
|
||||||
|
|
||||||
|
@@ -28,8 +28,8 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef CONSTANTS_H
|
#ifndef CLANGCONSTANTS_H
|
||||||
#define CONSTANTS_H
|
#define CLANGCONSTANTS_H
|
||||||
|
|
||||||
namespace ClangCodeModel {
|
namespace ClangCodeModel {
|
||||||
namespace Constants {
|
namespace Constants {
|
||||||
@@ -41,4 +41,4 @@ const char CLANG_WARNING[] = "Clang.Warning";
|
|||||||
} // namespace Constants
|
} // namespace Constants
|
||||||
} // namespace ClangCodeModel
|
} // namespace ClangCodeModel
|
||||||
|
|
||||||
#endif // CONSTANTS_H
|
#endif // CLANGCONSTANTS_H
|
@@ -32,9 +32,9 @@
|
|||||||
|
|
||||||
#include "clangfixitoperation.h"
|
#include "clangfixitoperation.h"
|
||||||
#include "clangfixitoperationsextractor.h"
|
#include "clangfixitoperationsextractor.h"
|
||||||
|
#include "clanghighlightingmarksreporter.h"
|
||||||
#include "clangmodelmanagersupport.h"
|
#include "clangmodelmanagersupport.h"
|
||||||
#include "clangutils.h"
|
#include "clangutils.h"
|
||||||
#include "highlightingmarksreporter.h"
|
|
||||||
|
|
||||||
#include <diagnosticcontainer.h>
|
#include <diagnosticcontainer.h>
|
||||||
#include <sourcelocationcontainer.h>
|
#include <sourcelocationcontainer.h>
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "clangfunctionhintmodel.h"
|
#include "clangfunctionhintmodel.h"
|
||||||
|
|
||||||
#include "completionchunkstotextconverter.h"
|
#include "clangcompletionchunkstotextconverter.h"
|
||||||
|
|
||||||
#include <cplusplus/SimpleLexer.h>
|
#include <cplusplus/SimpleLexer.h>
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "highlightingmarksreporter.h"
|
#include "clanghighlightingmarksreporter.h"
|
||||||
|
|
||||||
#include <cpptools/semantichighlighter.h>
|
#include <cpptools/semantichighlighter.h>
|
||||||
|
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "clangmodelmanagersupport.h"
|
#include "clangmodelmanagersupport.h"
|
||||||
|
|
||||||
#include "constants.h"
|
#include "clangconstants.h"
|
||||||
#include "clangeditordocumentprocessor.h"
|
#include "clangeditordocumentprocessor.h"
|
||||||
#include "clangutils.h"
|
#include "clangutils.h"
|
||||||
|
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "clangtextmark.h"
|
#include "clangtextmark.h"
|
||||||
|
|
||||||
#include "constants.h"
|
#include "clangconstants.h"
|
||||||
|
|
||||||
#include <coreplugin/coreconstants.h>
|
#include <coreplugin/coreconstants.h>
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include <activationsequencecontextprocessor.h>
|
#include <clangactivationsequencecontextprocessor.h>
|
||||||
|
|
||||||
#include <clangcodemodel/clangcompletionassistinterface.h>
|
#include <clangcodemodel/clangcompletionassistinterface.h>
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <activationsequenceprocessor.h>
|
#include <clangactivationsequenceprocessor.h>
|
||||||
|
|
||||||
#include <cplusplus/Token.h>
|
#include <cplusplus/Token.h>
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <codecompletionchunk.h>
|
#include <codecompletionchunk.h>
|
||||||
#include <completionchunkstotextconverter.h>
|
#include <clangcompletionchunkstotextconverter.h>
|
||||||
|
|
||||||
#include <gmock/gmock.h>
|
#include <gmock/gmock.h>
|
||||||
#include <gmock/gmock-matchers.h>
|
#include <gmock/gmock-matchers.h>
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
#include <chunksreportedmonitor.h>
|
#include <chunksreportedmonitor.h>
|
||||||
#include <clangtranslationunit.h>
|
#include <clangtranslationunit.h>
|
||||||
#include <highlightingmarkcontainer.h>
|
#include <highlightingmarkcontainer.h>
|
||||||
#include <highlightingmarksreporter.h>
|
#include <clanghighlightingmarksreporter.h>
|
||||||
#include <projectpart.h>
|
#include <projectpart.h>
|
||||||
#include <projects.h>
|
#include <projects.h>
|
||||||
#include <translationunits.h>
|
#include <translationunits.h>
|
||||||
|
Reference in New Issue
Block a user