Headers order fix, NOLINT project headers

This commit is contained in:
Bohdan Tyshchenko 2020-10-07 01:33:20 -07:00
parent 19612c642f
commit 48348d6aa5
4 changed files with 15 additions and 14 deletions

View File

@ -15,14 +15,15 @@
#ifndef GDAL_SANDBOX_H_ #ifndef GDAL_SANDBOX_H_
#define GDAL_SANDBOX_H_ #define GDAL_SANDBOX_H_
#include <syscall.h>
#include <iostream> #include <iostream>
#include <string> #include <string>
#include <syscall.h>
#include "gdal_sapi.sapi.h"
#include "sandboxed_api/sandbox2/util/fileops.h" #include "sandboxed_api/sandbox2/util/fileops.h"
#include "gdal_sapi.sapi.h" // NOLINT(build/include)
namespace gdal::sandbox { namespace gdal::sandbox {
class GdalSapiSandbox : public gdalSandbox { class GdalSapiSandbox : public gdalSandbox {

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "get_raster_data.h" #include "get_raster_data.h" // NOLINT(build/include)
#include <iostream> #include <iostream>
#include <memory> #include <memory>

View File

@ -12,17 +12,17 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include <iostream>
#include <cstdlib> #include <cstdlib>
#include <vector>
#include <string>
#include <filesystem> #include <filesystem>
#include <iostream>
#include <optional> #include <optional>
#include <string>
#include <vector>
#include "sandboxed_api/sandbox2/util/fileops.h" #include "sandboxed_api/sandbox2/util/fileops.h"
#include "gdal_sandbox.h" #include "gdal_sandbox.h" // NOLINT(build/include)
#include "get_raster_data.h" #include "get_raster_data.h" // NOLINT(build/include)
namespace { namespace {

View File

@ -12,18 +12,18 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include <filesystem>
#include <iostream> #include <iostream>
#include <optional> #include <optional>
#include <filesystem>
#include <string> #include <string>
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include "sandboxed_api/transaction.h"
#include "sandboxed_api/sandbox2/util/temp_file.h"
#include "sandboxed_api/sandbox2/util/fileops.h" #include "sandboxed_api/sandbox2/util/fileops.h"
#include "sandboxed_api/sandbox2/util/temp_file.h"
#include "sandboxed_api/transaction.h"
#include "gdal_sandbox.h" #include "gdal_sandbox.h" // NOLINT(build/include)
#include "get_raster_data.h" #include "get_raster_data.h" // NOLINT(build/include)
namespace gdal::sandbox::tests { namespace gdal::sandbox::tests {
namespace { namespace {