add nolint to every include '*.h' that is added by this pr

This commit is contained in:
Alexandra Latysheva 2020-10-11 08:20:40 +00:00
parent 5449e2f0df
commit 1785e39d4b
12 changed files with 12 additions and 11 deletions

View File

@ -17,7 +17,7 @@
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include "../sandboxed.h" #include "../sandboxed.h" // NOLINT(build/include)
#include "sandboxed_api/sandbox2/util/fileops.h" #include "sandboxed_api/sandbox2/util/fileops.h"
#include "sandboxed_api/sandbox2/util/path.h" #include "sandboxed_api/sandbox2/util/path.h"
#include "sandboxed_api/vars.h" #include "sandboxed_api/vars.h"

View File

@ -18,7 +18,7 @@
#include <optional> #include <optional>
#include <utility> #include <utility>
#include "tiff_sapi.sapi.h" #include "tiff_sapi.sapi.h" // NOLINT(build/include)
namespace { namespace {

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 "check_tag.h" #include "check_tag.h" // NOLINT(build/include)
void CheckShortField(TiffApi& api, sapi::v::RemotePtr& tif, const ttag_t field, void CheckShortField(TiffApi& api, sapi::v::RemotePtr& tif, const ttag_t field,
const uint16_t value) { const uint16_t value) {

View File

@ -14,7 +14,7 @@
#include <cstring> #include <cstring>
#include "helper.h" #include "helper.h" // NOLINT(build/include)
#include "tiffio.h" // NOLINT(build/include) #include "tiffio.h" // NOLINT(build/include)
void CheckShortField(TiffApi&, sapi::v::RemotePtr& tif, const ttag_t field, void CheckShortField(TiffApi&, sapi::v::RemotePtr& tif, const ttag_t field,

View File

@ -14,7 +14,7 @@
#include <cstdint> #include <cstdint>
#include "helper.h" #include "helper.h" // NOLINT(build/include)
#include "tiffio.h" // NOLINT(build/include) #include "tiffio.h" // NOLINT(build/include)
namespace { namespace {

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 "helper.h" #include "helper.h" // NOLINT(build/include)
std::string GetImagesFolder() { std::string GetImagesFolder() {
std::string cwd = sandbox2::file_util::fileops::GetCWD(); std::string cwd = sandbox2::file_util::fileops::GetCWD();

View File

@ -15,7 +15,7 @@
#include <optional> #include <optional>
#include <string> #include <string>
#include "../sandboxed.h" #include "../sandboxed.h" // NOLINT(build/include)
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include "sandboxed_api/sandbox2/util/fileops.h" #include "sandboxed_api/sandbox2/util/fileops.h"
#include "sandboxed_api/sandbox2/util/path.h" #include "sandboxed_api/sandbox2/util/path.h"

View File

@ -14,7 +14,7 @@
#include <array> #include <array>
#include "check_tag.h" #include "check_tag.h" // NOLINT(build/include)
#include "tiffio.h" // NOLINT(build/include) #include "tiffio.h" // NOLINT(build/include)
namespace { namespace {

View File

@ -16,7 +16,7 @@
#include <cstring> #include <cstring>
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include "helper.h" #include "helper.h" // NOLINT(build/include)
#include "tiffio.h" // NOLINT(build/include) #include "tiffio.h" // NOLINT(build/include)
namespace { namespace {

View File

@ -15,7 +15,7 @@
#include <array> #include <array>
#include <cstdint> #include <cstdint>
#include "check_tag.h" #include "check_tag.h" // NOLINT(build/include)
#include "tiffio.h" // NOLINT(build/include) #include "tiffio.h" // NOLINT(build/include)
namespace { namespace {

View File

@ -16,6 +16,7 @@ add_library(wrapped_tiff OBJECT
func.h func.h
func.cc func.cc
) )
set_target_properties(wrapped_tiff set_target_properties(wrapped_tiff
PROPERTIES LINKER_LANGUAGE C PROPERTIES LINKER_LANGUAGE C
) )

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 "func.h" #include "func.h" // NOLINT(build/include)
int TIFFGetField1(TIFF* tif, unsigned tag, void* param) { int TIFFGetField1(TIFF* tif, unsigned tag, void* param) {
return TIFFGetField(tif, tag, param); return TIFFGetField(tif, tag, param);