diff options
author | Mike Klein <mtklein@chromium.org> | 2016-09-27 11:21:15 -0400 |
---|---|---|
committer | Mike Klein <mtklein@chromium.org> | 2016-09-27 15:49:37 +0000 |
commit | 600c6a716df4aa72af873471f4a6bd3a851ceca1 (patch) | |
tree | d1b4c59226e7a0fce96e02b9be81b1e1814a2f0f /src/sksl | |
parent | 67075f0723f7ac5a7822b8d5708357b36224f0bf (diff) |
Turn on -Wnewline-eof.
I don't know _why_ Clang would like these .inc files to have a newline at the end of the file, but it seems a harmless way to silence the warning.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2711
Change-Id: I6c530ee5096c48c91ddf322aca916e70a0dd770b
Reviewed-on: https://skia-review.googlesource.com/2711
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl')
-rw-r--r-- | src/sksl/sksl.include | 3 | ||||
-rw-r--r-- | src/sksl/sksl_frag.include | 3 | ||||
-rw-r--r-- | src/sksl/sksl_vert.include | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/sksl/sksl.include b/src/sksl/sksl.include index bf35f22dbd..4fd5511ee3 100644 --- a/src/sksl/sksl.include +++ b/src/sksl/sksl.include @@ -540,4 +540,5 @@ void memoryBarrierShared(); void memoryBarrierImage(); void groupMemoryBarrier(); -)
\ No newline at end of file +) + diff --git a/src/sksl/sksl_frag.include b/src/sksl/sksl_frag.include index b4047fe091..123c3393a2 100644 --- a/src/sksl/sksl_frag.include +++ b/src/sksl/sksl_frag.include @@ -4,4 +4,5 @@ STRINGIFY( layout(builtin=15) in vec4 gl_FragCoord; -)
\ No newline at end of file +) + diff --git a/src/sksl/sksl_vert.include b/src/sksl/sksl_vert.include index e0b01efa49..85b53850a0 100644 --- a/src/sksl/sksl_vert.include +++ b/src/sksl/sksl_vert.include @@ -7,4 +7,5 @@ out gl_PerVertex { layout(builtin=1) float gl_PointSize; }; -)
\ No newline at end of file +) + |