Использование как формата Clang, так и Cpplint приводит к условиям гонкиC++

Программы на C++. Форум разработчиков
Anonymous
Использование как формата Clang, так и Cpplint приводит к условиям гонки

Сообщение Anonymous »

Как я могу решить эту гонку?#include "header/doc.hpp"
#include "header/node.hpp"

#include
#include

#include

TEST_CASE("Validate JSON Parsing") { REQUIRE(1 == 1); }
< /code>
Контент после изменений формата Clang < /h4>
#include
#include
#include

#include "header/doc.hpp"
#include "header/node.hpp"

TEST_CASE("Validate JSON Parsing") { REQUIRE(1 == 1); }
< /code>
Сообщение об ошибке из -за cpplint < /h4>
clang-format.............................................................Passed
cpplint..................................................................Failed
- hook id: cpplint
- exit code: 1

tests/test_main.cpp:6: Found C++ system header after other header. Should be: test_main.h, c system, c++ system, other. [build/include_order] [4]
tests/test_main.cpp:7: Found C++ system header after other header. Should be: test_main.h, c system, c++ system, other. [build/include_order] [4]
Done processing tests/test_main.cpp
Total errors found: 2

cppcheck.................................................................Passed
Insert license in comments...............................................Passed


Подробнее здесь: https://stackoverflow.com/questions/797 ... -condition

Вернуться в «C++»