Index: tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp |
diff --git a/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp b/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp |
index 7c21061e5ac18813b3d63742a5a86f5cb755827a..85140bb380c5ce5d52f63ea0cdf8c94c62d8a423 100644 |
--- a/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp |
+++ b/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp |
@@ -39,10 +39,11 @@ class BlinkGCPluginAction : public PluginASTAction { |
// Blink no longer passes in the option (cf. Source/config.gyp) |
if (args[i] == "enable-oilpan") |
continue; |
+ // TODO(sof): same for warn-raw-ptr |
+ if (args[i] == "warn-raw-ptr") |
+ continue; |
if (args[i] == "dump-graph") { |
options_.dump_graph = true; |
- } else if (args[i] == "warn-raw-ptr") { |
- options_.warn_raw_ptr = true; |
} else if (args[i] == "warn-unneeded-finalizer") { |
options_.warn_unneeded_finalizer = true; |
} else { |