forked from qt-creator/qt-creator
Moved CheckUndefinedSymbols to the cpptools plug-in.
This commit is contained in:
@@ -38,7 +38,6 @@ HEADERS += \
|
||||
$$PWD/ASTPath.h \
|
||||
$$PWD/DeprecatedGenTemplateInstance.h \
|
||||
$$PWD/FindUsages.h \
|
||||
$$PWD/CheckUndefinedSymbols.h \
|
||||
$$PWD/DependencyTable.h \
|
||||
$$PWD/PreprocessorClient.h \
|
||||
$$PWD/PreprocessorEnvironment.h \
|
||||
@@ -64,7 +63,6 @@ SOURCES += \
|
||||
$$PWD/ASTPath.cpp \
|
||||
$$PWD/DeprecatedGenTemplateInstance.cpp \
|
||||
$$PWD/FindUsages.cpp \
|
||||
$$PWD/CheckUndefinedSymbols.cpp \
|
||||
$$PWD/DependencyTable.cpp \
|
||||
$$PWD/PreprocessorClient.cpp \
|
||||
$$PWD/PreprocessorEnvironment.cpp \
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
**
|
||||
**************************************************************************/
|
||||
|
||||
#include "CheckUndefinedSymbols.h"
|
||||
#include "Overview.h"
|
||||
#include "cppcheckundefinedsymbols.h"
|
||||
#include <cplusplus/Overview.h>
|
||||
|
||||
#include <Names.h>
|
||||
#include <Literals.h>
|
||||
@@ -30,14 +30,14 @@
|
||||
#ifndef CPLUSPLUS_CHECKUNDEFINEDSYMBOLS_H
|
||||
#define CPLUSPLUS_CHECKUNDEFINEDSYMBOLS_H
|
||||
|
||||
#include "CppDocument.h"
|
||||
#include "LookupContext.h"
|
||||
#include <cplusplus/CppDocument.h>
|
||||
#include <cplusplus/LookupContext.h>
|
||||
#include <ASTVisitor.h>
|
||||
#include <QtCore/QSet>
|
||||
|
||||
namespace CPlusPlus {
|
||||
|
||||
class CPLUSPLUS_EXPORT CheckUndefinedSymbols: protected ASTVisitor
|
||||
class CheckUndefinedSymbols: protected ASTVisitor
|
||||
{
|
||||
public:
|
||||
CheckUndefinedSymbols(TranslationUnit *unit, const LookupContext &context);
|
||||
@@ -31,6 +31,8 @@
|
||||
#include "cppeditorconstants.h"
|
||||
#include "cppplugin.h"
|
||||
#include "cpphighlighter.h"
|
||||
#include "cppcheckundefinedsymbols.h"
|
||||
|
||||
#include "cppquickfix.h"
|
||||
#include <cpptools/cpptoolsplugin.h>
|
||||
|
||||
@@ -54,7 +56,6 @@
|
||||
#include <cplusplus/MatchingText.h>
|
||||
#include <cplusplus/BackwardsScanner.h>
|
||||
#include <cplusplus/FastPreprocessor.h>
|
||||
#include <cplusplus/CheckUndefinedSymbols.h>
|
||||
|
||||
#include <cpptools/cppmodelmanagerinterface.h>
|
||||
#include <cpptools/cpptoolsconstants.h>
|
||||
|
||||
@@ -15,7 +15,8 @@ HEADERS += cppplugin.h \
|
||||
cppeditor_global.h \
|
||||
cppclasswizard.h \
|
||||
cppquickfix.h \
|
||||
cpprefactoringchanges.h
|
||||
cpprefactoringchanges.h \
|
||||
cppcheckundefinedsymbols.h
|
||||
|
||||
SOURCES += cppplugin.cpp \
|
||||
cppeditor.cpp \
|
||||
@@ -24,7 +25,8 @@ SOURCES += cppplugin.cpp \
|
||||
cppfilewizard.cpp \
|
||||
cppclasswizard.cpp \
|
||||
cppquickfix.cpp \
|
||||
cpprefactoringchanges.cpp
|
||||
cpprefactoringchanges.cpp \
|
||||
cppcheckundefinedsymbols.cpp
|
||||
|
||||
RESOURCES += cppeditor.qrc
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
|
||||
#include <cplusplus/pp.h>
|
||||
#include <cplusplus/Overview.h>
|
||||
#include <cplusplus/CheckUndefinedSymbols.h>
|
||||
|
||||
#include "cppmodelmanager.h"
|
||||
#ifndef ICHECK_BUILD
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
namespace CPlusPlus {
|
||||
|
||||
class TemplateParameters
|
||||
class CPLUSPLUS_EXPORT TemplateParameters
|
||||
{
|
||||
public:
|
||||
TemplateParameters(Scope *scope);
|
||||
|
||||
Reference in New Issue
Block a user