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>
This commit is contained in:
parent
67075f0723
commit
600c6a716d
@ -107,7 +107,6 @@ config("default") {
|
||||
"-Wno-missing-prototypes",
|
||||
"-Wno-missing-variable-declarations",
|
||||
"-Wno-nested-anon-types",
|
||||
"-Wno-newline-eof",
|
||||
"-Wno-pedantic",
|
||||
"-Wno-reserved-id-macro",
|
||||
"-Wno-shadow",
|
||||
|
@ -540,4 +540,5 @@ void memoryBarrierShared();
|
||||
void memoryBarrierImage();
|
||||
void groupMemoryBarrier();
|
||||
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -4,4 +4,5 @@ STRINGIFY(
|
||||
|
||||
layout(builtin=15) in vec4 gl_FragCoord;
|
||||
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -7,4 +7,5 @@ out gl_PerVertex {
|
||||
layout(builtin=1) float gl_PointSize;
|
||||
};
|
||||
|
||||
)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user