Skip to content

Commit 427982a

Browse files
MNT: fix linting with cpplint 2.0.0 (#279)
1 parent 6657a0a commit 427982a

File tree

22 files changed

+38
-5
lines changed

22 files changed

+38
-5
lines changed

CPPLINT.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ filter=-whitespace/comma # 6027 errors
1616
filter=-whitespace/comments # 881 errors
1717
filter=-whitespace/operators # 5240 errors
1818
filter=-whitespace/parens # 413 error
19+
filter=-whitespace/newline
20+
filter=-whitespace/indent_namespace
1921
filter=-readability/multiline_string
2022
filter=-build/include_subdir # 296 errors
2123
#filter=-whitespace/end_of_line

src/dataBlock/dataBlock.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
// ***********************************************************************************
77

88
#include <algorithm>
9+
#include <memory>
10+
#include <string>
911
#include "idefix.hpp"
1012
#include "dataBlock.hpp"
1113
#include "fluid.hpp"

src/dataBlock/dataBlock.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <string>
1313
#include <map>
1414
#include <memory>
15+
#include <cstdio>
1516

1617
#include "idefix.hpp"
1718
#include "grid.hpp"

src/dataBlock/dataBlockHost.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// Licensed under CeCILL 2.1 License, see COPYING for more information
66
// ***********************************************************************************
77

8+
#include <vector>
89
#include "idefix.hpp"
910
#include "dataBlockHost.hpp"
1011
#include "fluid.hpp"

src/dataBlock/dumpToFile.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// Licensed under CeCILL 2.1 License, see COPYING for more information
66
// ***********************************************************************************
77

8+
#include <string>
9+
#include <cstdio>
810
#include "../idefix.hpp"
911
#include "dataBlock.hpp"
1012
#include "version.hpp"

src/fluid/boundary/axis.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// Licensed under CeCILL 2.1 License, see COPYING for more information
66
// ***********************************************************************************
77

8+
#include <vector>
89
#include "axis.hpp"
910
#include "boundary.hpp"
1011

src/fluid/checkNan.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#ifndef FLUID_CHECKNAN_HPP_
99
#define FLUID_CHECKNAN_HPP_
10+
#include <iostream>
1011
#include "dataBlock.hpp"
1112
#include "dataBlockHost.hpp"
1213
#include "fluid.hpp"

src/global.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// Licensed under CeCILL 2.1 License, see COPYING for more information
66
// ***********************************************************************************
77

8+
#include <iostream>
89
#include <string>
910
#include <sstream>
1011
#include "idefix.hpp"

src/global.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#ifndef GLOBAL_HPP_
99
#define GLOBAL_HPP_
10+
#include <iostream>
1011
#include <string>
1112
#include <vector>
1213
#include "arrays.hpp"

src/idefix.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#define IDEFIX_HPP_
1010
#include <fstream>
1111
#include <iostream>
12+
#include <cstdio>
1213
#include <Kokkos_Core.hpp>
1314
// #include <Kokkos_DualView.hpp> // do we still need this?
1415
#ifdef WITH_MPI

0 commit comments

Comments
 (0)