summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-11-21 13:50:32 -0500
committerdan sinclair <dsinclair@chromium.org>2016-11-21 18:51:10 +0000
commit85c8e7f788512ce5b5b43cd816e8091b57c3d5e7 (patch)
treee727d747684b9db2632ef250b55046cfce2b55a3 /public
parent7daa6fb286d1b5d65f99521f3314083e86d93e3f (diff)
downloadpdfium-85c8e7f788512ce5b5b43cd816e8091b57c3d5e7.tar.xz
Fixup lint flags.
The -build/include setting was masking out build/include_what_you_use. This CL restores them, fixes any build errors, and adds NOLINT as needed. As well, the runtime/explicit and runtime/printf flags are aslo enabled and NOLINT'd. lint cleanups Change-Id: Ib013b3eb29c8d0e48cad74c5df9028684130719f Reviewed-on: https://pdfium-review.googlesource.com/2030 Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'public')
-rw-r--r--public/fpdf_dataavail.h1
-rw-r--r--public/fpdf_doc.h1
-rw-r--r--public/fpdf_edit.h1
-rw-r--r--public/fpdf_ext.h1
-rw-r--r--public/fpdf_flatten.h1
-rw-r--r--public/fpdf_formfill.h1
-rw-r--r--public/fpdf_fwlevent.h1
-rw-r--r--public/fpdf_ppo.h1
-rw-r--r--public/fpdf_progressive.h1
-rw-r--r--public/fpdf_save.h1
-rw-r--r--public/fpdf_searchex.h1
-rw-r--r--public/fpdf_sysfontinfo.h1
-rw-r--r--public/fpdf_text.h1
-rw-r--r--public/fpdf_transformpage.h1
14 files changed, 14 insertions, 0 deletions
diff --git a/public/fpdf_dataavail.h b/public/fpdf_dataavail.h
index 5599171619..2413e2be7a 100644
--- a/public/fpdf_dataavail.h
+++ b/public/fpdf_dataavail.h
@@ -9,6 +9,7 @@
#include <stddef.h>
+// NOLINTNEXTLINE(build/include)
#include "fpdfview.h"
#define PDF_LINEARIZATION_UNKNOWN -1
diff --git a/public/fpdf_doc.h b/public/fpdf_doc.h
index 206dc37a27..9d2229c0c1 100644
--- a/public/fpdf_doc.h
+++ b/public/fpdf_doc.h
@@ -7,6 +7,7 @@
#ifndef PUBLIC_FPDF_DOC_H_
#define PUBLIC_FPDF_DOC_H_
+// NOLINTNEXTLINE(build/include)
#include "fpdfview.h"
#ifdef __cplusplus
diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h
index 47fdf9e76e..dabdbedd48 100644
--- a/public/fpdf_edit.h
+++ b/public/fpdf_edit.h
@@ -9,6 +9,7 @@
#include <stdint.h>
+// NOLINTNEXTLINE(build/include)
#include "fpdfview.h"
#define FPDF_ARGB(a, r, g, b) \
diff --git a/public/fpdf_ext.h b/public/fpdf_ext.h
index 2f7d7ddf64..3465878990 100644
--- a/public/fpdf_ext.h
+++ b/public/fpdf_ext.h
@@ -7,6 +7,7 @@
#ifndef PUBLIC_FPDF_EXT_H_
#define PUBLIC_FPDF_EXT_H_
+// NOLINTNEXTLINE(build/include)
#include "fpdfview.h"
#ifdef __cplusplus
diff --git a/public/fpdf_flatten.h b/public/fpdf_flatten.h
index 8d641809fe..c1e354e906 100644
--- a/public/fpdf_flatten.h
+++ b/public/fpdf_flatten.h
@@ -7,6 +7,7 @@
#ifndef PUBLIC_FPDF_FLATTEN_H_
#define PUBLIC_FPDF_FLATTEN_H_
+// NOLINTNEXTLINE(build/include)
#include "fpdfview.h"
// Flatten operation failed.
diff --git a/public/fpdf_formfill.h b/public/fpdf_formfill.h
index e11f85c89f..ada87d3158 100644
--- a/public/fpdf_formfill.h
+++ b/public/fpdf_formfill.h
@@ -7,6 +7,7 @@
#ifndef PUBLIC_FPDF_FORMFILL_H_
#define PUBLIC_FPDF_FORMFILL_H_
+// NOLINTNEXTLINE(build/include)
#include "fpdfview.h"
typedef void* FPDF_FORMHANDLE;
diff --git a/public/fpdf_fwlevent.h b/public/fpdf_fwlevent.h
index 8d2f1a4d76..591484a5d0 100644
--- a/public/fpdf_fwlevent.h
+++ b/public/fpdf_fwlevent.h
@@ -7,6 +7,7 @@
#ifndef PUBLIC_FPDF_FWLEVENT_H_
#define PUBLIC_FPDF_FWLEVENT_H_
+// NOLINTNEXTLINE(build/include)
#include "fpdfview.h"
#ifdef __cplusplus
diff --git a/public/fpdf_ppo.h b/public/fpdf_ppo.h
index 532494e7fa..d9c83002b5 100644
--- a/public/fpdf_ppo.h
+++ b/public/fpdf_ppo.h
@@ -7,6 +7,7 @@
#ifndef PUBLIC_FPDF_PPO_H_
#define PUBLIC_FPDF_PPO_H_
+// NOLINTNEXTLINE(build/include)
#include "fpdfview.h"
#ifdef __cplusplus
diff --git a/public/fpdf_progressive.h b/public/fpdf_progressive.h
index ffc812df77..0c3d501317 100644
--- a/public/fpdf_progressive.h
+++ b/public/fpdf_progressive.h
@@ -7,6 +7,7 @@
#ifndef PUBLIC_FPDF_PROGRESSIVE_H_
#define PUBLIC_FPDF_PROGRESSIVE_H_
+// NOLINTNEXTLINE(build/include)
#include "fpdfview.h"
// Flags for progressive process status.
diff --git a/public/fpdf_save.h b/public/fpdf_save.h
index 44520a5baf..c34e2bc6c7 100644
--- a/public/fpdf_save.h
+++ b/public/fpdf_save.h
@@ -7,6 +7,7 @@
#ifndef PUBLIC_FPDF_SAVE_H_
#define PUBLIC_FPDF_SAVE_H_
+// NOLINTNEXTLINE(build/include)
#include "fpdfview.h"
#ifdef __cplusplus
diff --git a/public/fpdf_searchex.h b/public/fpdf_searchex.h
index 0d90bdddb9..7c1b31848e 100644
--- a/public/fpdf_searchex.h
+++ b/public/fpdf_searchex.h
@@ -7,6 +7,7 @@
#ifndef PUBLIC_FPDF_SEARCHEX_H_
#define PUBLIC_FPDF_SEARCHEX_H_
+// NOLINTNEXTLINE(build/include)
#include "fpdfview.h"
#ifdef __cplusplus
diff --git a/public/fpdf_sysfontinfo.h b/public/fpdf_sysfontinfo.h
index d75aa19629..a0edffffa2 100644
--- a/public/fpdf_sysfontinfo.h
+++ b/public/fpdf_sysfontinfo.h
@@ -7,6 +7,7 @@
#ifndef PUBLIC_FPDF_SYSFONTINFO_H_
#define PUBLIC_FPDF_SYSFONTINFO_H_
+// NOLINTNEXTLINE(build/include)
#include "fpdfview.h"
/* Character sets for the font */
diff --git a/public/fpdf_text.h b/public/fpdf_text.h
index 2bf574b12f..5c241527eb 100644
--- a/public/fpdf_text.h
+++ b/public/fpdf_text.h
@@ -7,6 +7,7 @@
#ifndef PUBLIC_FPDF_TEXT_H_
#define PUBLIC_FPDF_TEXT_H_
+// NOLINTNEXTLINE(build/include)
#include "fpdfview.h"
// Exported Functions
diff --git a/public/fpdf_transformpage.h b/public/fpdf_transformpage.h
index 569df2a7e0..66271fcda8 100644
--- a/public/fpdf_transformpage.h
+++ b/public/fpdf_transformpage.h
@@ -7,6 +7,7 @@
#ifndef PUBLIC_FPDF_TRANSFORMPAGE_H_
#define PUBLIC_FPDF_TRANSFORMPAGE_H_
+// NOLINTNEXTLINE(build/include)
#include "fpdfview.h"
#ifdef __cplusplus