DescriptionAdd the missing flags for clang's chromium-style plugin.
Confirmed that when we enable them it correctly throw the following
error:
../tools/gn/group_target_generator.h:18:34: error: [chromium-style]
Overriding method must be marked with 'override' or 'final'.
virtual ~GroupTargetGenerator();
^
override
This patch was tested with the following command lines (after changing
BUILD.gn):
$ gn gen out-gn
$ ninja -v -C out-gn gn
And manually checked that the new flags were passed to clang.
See for example:
http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/27949
This came while doing https://codereview.chromium.org/964203002/, which
without this patch passed fine but hit on the GYP trybots.
BUG=462972
TEST=see above
R=dpranke@chromium.org
Patch Set 1 #Patch Set 2 : REBASE #
Messages
Total messages: 19 (4 generated)
|