Commit 15215261 by Courtney Goeltzenleuchter Committed by Commit Bot

Enable unneeded-internal-declaration compiler warning

No longer have issues with unneeded internal declarations now that Tokenizer.cpp has been updated so re-enable compiler warning to catch future issues. BUG:angleproject:2451 Test: build Change-Id: I30daadc8c7374bcae753a7e69cb9a72855a1f548 Reviewed-on: https://chromium-review.googlesource.com/1007965 Commit-Queue: Courtney Goeltzenleuchter <courtneygo@google.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 51dd886b
...@@ -99,6 +99,7 @@ config("extra_warnings") { ...@@ -99,6 +99,7 @@ config("extra_warnings") {
cflags += [ cflags += [
# Remove when crbug.com/428099 is resolved. # Remove when crbug.com/428099 is resolved.
"-Winconsistent-missing-override", "-Winconsistent-missing-override",
"-Wunneeded-internal-declaration",
] ]
} }
} }
......
...@@ -66,6 +66,7 @@ using namespace sh; ...@@ -66,6 +66,7 @@ using namespace sh;
#endif #endif
#endif #endif
#define YY_NO_INPUT
#define YY_USER_ACTION \ #define YY_USER_ACTION \
yylloc->first_file = yylloc->last_file = yycolumn; \ yylloc->first_file = yylloc->last_file = yycolumn; \
yylloc->first_line = yylloc->last_line = yylineno; yylloc->first_line = yylloc->last_line = yylineno;
......
...@@ -1205,6 +1205,7 @@ using namespace sh; ...@@ -1205,6 +1205,7 @@ using namespace sh;
#endif #endif
#endif #endif
#define YY_NO_INPUT
#define YY_USER_ACTION \ #define YY_USER_ACTION \
yylloc->first_file = yylloc->last_file = yycolumn; \ yylloc->first_file = yylloc->last_file = yycolumn; \
yylloc->first_line = yylloc->last_line = yylineno; yylloc->first_line = yylloc->last_line = yylineno;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment