tint: Fix `[chromium-style]` auto pointer warnings Needed to fix Dawn -> Tint roll Change-Id: I9b889320bbac6518620896ada7a53dd3cb95f01a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88662 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
diff --git a/src/tint/inspector/inspector.cc b/src/tint/inspector/inspector.cc index 7e5a6af..ebae93f 100644 --- a/src/tint/inspector/inspector.cc +++ b/src/tint/inspector/inspector.cc
@@ -560,8 +560,8 @@ // Ast nodes for enable directive are stored within global declarations list auto global_decls = program_->AST().GlobalDeclarations(); - for (auto node : global_decls) { - if (auto ext = node->As<ast::Enable>()) { + for (auto* node : global_decls) { + if (auto* ext = node->As<ast::Enable>()) { result.push_back({ext->name, ext->source}); } }