* added FileManager that keeps track of the files analyzed by the project. It therefore checks if files get added, updated or deleted from the source- and include folders. * refactored ASTVisitor::hasValidLocation() and implemented one version that search for the location in the currently parsed file and one that searches in all the project's source files. * quickfix: switched order in FileManager so that header files are parsed first. * created folder for helper classes used in tests. * added test code for FileManager * adjusted test code for Parser Tests.
267 lines
7.8 KiB
CMake
267 lines
7.8 KiB
CMake
add_files(
|
|
CLANG_FILES
|
|
|
|
data/parser/cxx/ASTAction.cpp
|
|
data/parser/cxx/ASTAction.h
|
|
data/parser/cxx/ASTActionFactory.cpp
|
|
data/parser/cxx/ASTActionFactory.h
|
|
data/parser/cxx/ASTBodyVisitor.cpp
|
|
data/parser/cxx/ASTBodyVisitor.h
|
|
data/parser/cxx/ASTBodyVisitorClient.cpp
|
|
data/parser/cxx/ASTBodyVisitorClient.h
|
|
data/parser/cxx/ASTConsumer.cpp
|
|
data/parser/cxx/ASTConsumer.h
|
|
data/parser/cxx/ASTVisitor.cpp
|
|
data/parser/cxx/ASTVisitor.h
|
|
data/parser/cxx/CxxDiagnosticConsumer.cpp
|
|
data/parser/cxx/CxxDiagnosticConsumer.h
|
|
data/parser/cxx/CxxParser.cpp
|
|
data/parser/cxx/CxxParser.h
|
|
data/parser/cxx/utilityCxx.cpp
|
|
data/parser/cxx/utilityCxx.h
|
|
)
|
|
|
|
add_files(
|
|
LIB_FILES
|
|
|
|
component/controller/CodeController.cpp
|
|
component/controller/CodeController.h
|
|
component/controller/Controller.cpp
|
|
component/controller/Controller.h
|
|
component/controller/GraphController.cpp
|
|
component/controller/GraphController.h
|
|
component/controller/GraphLayouter.cpp
|
|
component/controller/GraphLayouter.h
|
|
component/controller/RefreshController.cpp
|
|
component/controller/RefreshController.h
|
|
component/controller/SearchController.cpp
|
|
component/controller/SearchController.h
|
|
component/controller/StatusBarController.cpp
|
|
component/controller/StatusBarController.h
|
|
component/controller/UndoRedoController.cpp
|
|
component/controller/UndoRedoController.h
|
|
|
|
component/view/graphElements/GraphEdge.cpp
|
|
component/view/graphElements/GraphEdge.h
|
|
component/view/graphElements/GraphNode.cpp
|
|
component/view/graphElements/GraphNode.h
|
|
|
|
component/view/CodeView.cpp
|
|
component/view/CodeView.h
|
|
component/view/GraphView.cpp
|
|
component/view/GraphView.h
|
|
component/view/MainView.cpp
|
|
component/view/MainView.h
|
|
component/view/RefreshView.cpp
|
|
component/view/RefreshView.h
|
|
component/view/SearchView.cpp
|
|
component/view/SearchView.h
|
|
component/view/StatusBarView.cpp
|
|
component/view/StatusBarView.h
|
|
component/view/UndoRedoView.cpp
|
|
component/view/UndoRedoView.h
|
|
component/view/View.cpp
|
|
component/view/View.h
|
|
component/view/ViewFactory.cpp
|
|
component/view/ViewFactory.h
|
|
component/view/ViewLayout.cpp
|
|
component/view/ViewLayout.h
|
|
component/view/ViewWidgetWrapper.cpp
|
|
component/view/ViewWidgetWrapper.h
|
|
|
|
component/Component.cpp
|
|
component/Component.h
|
|
component/ComponentFactory.cpp
|
|
component/ComponentFactory.h
|
|
component/ComponentManager.cpp
|
|
component/ComponentManager.h
|
|
|
|
data/access/LocationAccess.cpp
|
|
data/access/LocationAccess.h
|
|
data/access/LocationAccessProxy.cpp
|
|
data/access/LocationAccessProxy.h
|
|
data/access/GraphAccess.cpp
|
|
data/access/GraphAccess.h
|
|
data/access/GraphAccessProxy.cpp
|
|
data/access/GraphAccessProxy.h
|
|
|
|
data/graph/filter/GraphFilter.cpp
|
|
data/graph/filter/GraphFilter.h
|
|
data/graph/filter/GraphFilterConductor.cpp
|
|
data/graph/filter/GraphFilterConductor.h
|
|
data/graph/filter/GraphFilterImplementations.h
|
|
|
|
data/graph/token_component/TokenComponent.cpp
|
|
data/graph/token_component/TokenComponent.h
|
|
data/graph/token_component/TokenComponentAbstraction.cpp
|
|
data/graph/token_component/TokenComponentAbstraction.h
|
|
data/graph/token_component/TokenComponentAccess.cpp
|
|
data/graph/token_component/TokenComponentAccess.h
|
|
data/graph/token_component/TokenComponentAggregation.cpp
|
|
data/graph/token_component/TokenComponentAggregation.h
|
|
data/graph/token_component/TokenComponentConst.cpp
|
|
data/graph/token_component/TokenComponentConst.h
|
|
data/graph/token_component/TokenComponentName.cpp
|
|
data/graph/token_component/TokenComponentName.h
|
|
data/graph/token_component/TokenComponentSignature.cpp
|
|
data/graph/token_component/TokenComponentSignature.h
|
|
data/graph/token_component/TokenComponentStatic.cpp
|
|
data/graph/token_component/TokenComponentStatic.h
|
|
|
|
data/graph/Edge.cpp
|
|
data/graph/Edge.h
|
|
data/graph/FilterableGraph.cpp
|
|
data/graph/FilterableGraph.h
|
|
data/graph/Graph.cpp
|
|
data/graph/Graph.h
|
|
data/graph/Node.cpp
|
|
data/graph/Node.h
|
|
data/graph/StorageGraph.cpp
|
|
data/graph/StorageGraph.h
|
|
data/graph/SubGraph.cpp
|
|
data/graph/SubGraph.h
|
|
data/graph/Token.cpp
|
|
data/graph/Token.h
|
|
|
|
data/location/TokenLocation.cpp
|
|
data/location/TokenLocation.h
|
|
data/location/TokenLocationCollection.cpp
|
|
data/location/TokenLocationCollection.h
|
|
data/location/TokenLocationFile.cpp
|
|
data/location/TokenLocationFile.h
|
|
data/location/TokenLocationLine.cpp
|
|
data/location/TokenLocationLine.h
|
|
|
|
data/parser/ParseFunction.cpp
|
|
data/parser/ParseFunction.h
|
|
data/parser/ParseLocation.cpp
|
|
data/parser/ParseLocation.h
|
|
data/parser/Parser.cpp
|
|
data/parser/Parser.h
|
|
data/parser/ParserClient.cpp
|
|
data/parser/ParserClient.h
|
|
data/parser/ParseTypeUsage.cpp
|
|
data/parser/ParseTypeUsage.h
|
|
data/parser/ParseVariable.cpp
|
|
data/parser/ParseVariable.h
|
|
|
|
data/query/QueryCommand.cpp
|
|
data/query/QueryCommand.h
|
|
data/query/QueryNode.cpp
|
|
data/query/QueryNode.h
|
|
data/query/QueryOperator.cpp
|
|
data/query/QueryOperator.h
|
|
data/query/QueryToken.cpp
|
|
data/query/QueryToken.h
|
|
data/query/QueryTree.cpp
|
|
data/query/QueryTree.h
|
|
|
|
data/search/SearchIndex.cpp
|
|
data/search/SearchIndex.h
|
|
data/search/SearchNode.cpp
|
|
data/search/SearchNode.h
|
|
data/search/SearchMatch.cpp
|
|
data/search/SearchMatch.h
|
|
data/search/SearchResult.cpp
|
|
data/search/SearchResult.h
|
|
|
|
data/type/modifier/DataTypeModifier.cpp
|
|
data/type/modifier/DataTypeModifier.h
|
|
data/type/modifier/DataTypeModifierArray.cpp
|
|
data/type/modifier/DataTypeModifierArray.h
|
|
data/type/modifier/DataTypeModifierPointer.cpp
|
|
data/type/modifier/DataTypeModifierPointer.h
|
|
data/type/modifier/DataTypeModifierReference.cpp
|
|
data/type/modifier/DataTypeModifierReference.h
|
|
|
|
data/type/DataType.cpp
|
|
data/type/DataType.h
|
|
data/type/DataTypeModifierStack.cpp
|
|
data/type/DataTypeModifierStack.h
|
|
data/type/DataTypeQualifierList.cpp
|
|
data/type/DataTypeQualifierList.h
|
|
|
|
data/Storage.cpp
|
|
data/Storage.h
|
|
|
|
utility/file/FileInfo.cpp
|
|
utility/file/FileInfo.h
|
|
utility/file/FileManager.cpp
|
|
utility/file/FileManager.h
|
|
utility/file/FileSystem.cpp
|
|
utility/file/FileSystem.h
|
|
|
|
utility/logging/ConsoleLogger.cpp
|
|
utility/logging/ConsoleLogger.h
|
|
utility/logging/FileLogger.cpp
|
|
utility/logging/FileLogger.h
|
|
utility/logging/Logger.cpp
|
|
utility/logging/Logger.h
|
|
utility/logging/logging.h
|
|
utility/logging/LogManager.cpp
|
|
utility/logging/LogManager.h
|
|
utility/logging/LogManagerImplementation.cpp
|
|
utility/logging/LogManagerImplementation.h
|
|
utility/logging/LogMessage.h
|
|
utility/logging/PlainFileLogger.cpp
|
|
utility/logging/PlainFileLogger.h
|
|
|
|
utility/math/Color.h
|
|
utility/math/MatrixBase.h
|
|
utility/math/MatrixDynamicBase.h
|
|
utility/math/Vector2.h
|
|
utility/math/Vector4.h
|
|
utility/math/VectorBase.h
|
|
|
|
utility/messaging/type/MessageActivateTokenLocation.h
|
|
utility/messaging/type/MessageActivateTokens.h
|
|
utility/messaging/type/MessageAutoRefreshChanged.h
|
|
utility/messaging/type/MessageError.h
|
|
utility/messaging/type/MessageFind.h
|
|
utility/messaging/type/MessageFinishedParsing.h
|
|
utility/messaging/type/MessageGraphNodeExpand.h
|
|
utility/messaging/type/MessageGraphNodeMove.h
|
|
utility/messaging/type/MessageLoadProject.h
|
|
utility/messaging/type/MessageLoadSource.h
|
|
utility/messaging/type/MessageRefresh.h
|
|
utility/messaging/type/MessageSaveProject.h
|
|
utility/messaging/type/MessageSearch.h
|
|
utility/messaging/type/MessageSearchAutocomplete.h
|
|
utility/messaging/type/MessageShowFile.h
|
|
utility/messaging/type/MessageStatus.h
|
|
utility/messaging/type/MessageRedo.h
|
|
utility/messaging/type/MessageUndo.h
|
|
utility/messaging/type/MessageWindowFocus.h
|
|
|
|
utility/messaging/Message.h
|
|
utility/messaging/MessageBase.h
|
|
utility/messaging/MessageListener.h
|
|
utility/messaging/MessageListenerBase.h
|
|
utility/messaging/MessageQueue.cpp
|
|
utility/messaging/MessageQueue.h
|
|
|
|
utility/text/Dictionary.cpp
|
|
utility/text/Dictionary.h
|
|
utility/text/TextAccess.cpp
|
|
utility/text/TextAccess.h
|
|
|
|
utility/ConfigManager.cpp
|
|
utility/ConfigManager.h
|
|
utility/Property.h
|
|
utility/types.h
|
|
utility/utilityString.cpp
|
|
utility/utilityString.h
|
|
utility/Vector.h
|
|
|
|
Application.cpp
|
|
Application.h
|
|
ApplicationSettings.cpp
|
|
ApplicationSettings.h
|
|
Project.cpp
|
|
Project.h
|
|
ProjectSettings.cpp
|
|
ProjectSettings.h
|
|
Settings.cpp
|
|
Settings.h
|
|
)
|