Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: tools/clang/blink_gc_plugin/tests/legacy_naming/stack_allocated_no_warning.h

Issue 2730673003: blink_gc_plugin: always enable warn_stack_allocated_trace_method check. (Closed)
Patch Set: retire GC option flag also Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/clang/blink_gc_plugin/tests/legacy_naming/stack_allocated_no_warning.h
diff --git a/tools/clang/blink_gc_plugin/tests/legacy_naming/stack_allocated_no_warning.h b/tools/clang/blink_gc_plugin/tests/legacy_naming/stack_allocated_no_warning.h
deleted file mode 100644
index 3891d2a86343689085d918880035b4c96dd84bb5..0000000000000000000000000000000000000000
--- a/tools/clang/blink_gc_plugin/tests/legacy_naming/stack_allocated_no_warning.h
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef STACK_ALLOCATED_H_
-#define STACK_ALLOCATED_H_
-
-#include "heap/stubs.h"
-
-namespace blink {
-
-class HeapObject;
-
-class StackObject {
- STACK_ALLOCATED();
-
- // Redundant trace() method, but warning/error disabled.
- void trace(Visitor* visitor) { visitor->trace(m_obj); }
-
-private:
- Member<HeapObject> m_obj; // Does not need tracing.
-};
-
-}
-
-#endif

Powered by Google App Engine
This is Rietveld 408576698