##// END OF EJS Templates
Ajout des règles vera++
perrinel -
r24:31a39fecd50d
parent child
Show More
@@ -0,0 +1,3
1 # On ignore toutes les règles vera++ pour le fichier spimpl
2 Common/spimpl\.h:\d+:.*
3
@@ -0,0 +1,4
1 # On ignore toutes les règles vera++ pour le fichier spimpl
2
3 .*IPSIS_S04_METHOD.*found: Q_DECLARE_LOGGING_CATEGORY.*
4 .*IPSIS_S04_VARIABLE.*found: impl.*
@@ -23,6 +23,9 ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/app")
23 23 #
24 24 # Code formatting
25 25 #
26 # Vera++ exclusion files
27 LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/formatting/vera-exclusions/exclusions.txt)
28 SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_EXCLUSION_FILES)
26 29 INCLUDE ("cmake/sciqlop_formatting.cmake")
27 30
28 31 #
@@ -34,6 +34,8 IF (ENABLE_CHECKSTYLE)
34 34 LIST(APPEND EXCLUSIONS EXCLUSION ${e})
35 35 ENDFOREACH()
36 36
37 message("Exclusions de vera++: ${EXCLUSIONS}")
38
37 39 ADD_VERA_TARGETS(${CHECKSTYLE_INPUT_FILES}
38 40 ADD_TO_ALL
39 41 PROFILE "sciqlop"
@@ -57,7 +57,7 SCIQLOP_COPY_TO_TARGET(LIBRARY ${SQPCORE_LIBRARY_NAME} ${EXTERN_SHARED_LIBRARIES
57 57 LIST(APPEND CHECKSTYLE_INPUT_FILES ${MODULE_SOURCES})
58 58 SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_INPUT_FILES)
59 59 # Vera++ exclusion files
60 #LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/path/to/exclusionFiles.tcl)
60 LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/vera-exclusions/exclusions.txt)
61 61 SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_EXCLUSION_FILES)
62 62
63 63 #
@@ -30,7 +30,6
30 30 #include <memory>
31 31 #include <type_traits>
32 32
33
34 33 #if defined _MSC_VER && _MSC_VER < 1900 // MS Visual Studio before VS2015
35 34 #define SPIMPL_NO_CPP11_NOEXCEPT
36 35 #define SPIMPL_NO_CPP11_CONSTEXPR
@@ -18,6 +18,7 Q_DECLARE_LOGGING_CATEGORY(LOG_SqpApplication)
18 18 * method will ba able to access it.
19 19 * You can load a data source driver plugin then create a data source.
20 20 */
21
21 22 class SqpApplication : public QApplication {
22 23 Q_OBJECT
23 24 public:
@@ -8,10 +8,9 Q_LOGGING_CATEGORY(LOG_SqpApplication, "SqpApplication")
8 8 class SqpApplication::SqpApplicationPrivate {
9 9 public:
10 10 SqpApplicationPrivate() {}
11 ~SqpApplicationPrivate()
11 virtual ~SqpApplicationPrivate()
12 12 {
13 13 qCInfo(LOG_SqpApplication()) << tr("Desctruction du SqpApplicationPrivate");
14 ;
15 14 m_DataSourceControllerThread.quit();
16 15 m_DataSourceControllerThread.wait();
17 16 }
General Comments 0
You need to be logged in to leave comments. Login now