| Index: tools/clang/blink_gc_plugin/DiagnosticsReporter.cpp
|
| diff --git a/tools/clang/blink_gc_plugin/DiagnosticsReporter.cpp b/tools/clang/blink_gc_plugin/DiagnosticsReporter.cpp
|
| index 1ae842573ff442ab414815d5bf70461b9b5845f5..a43cfdb0d91a9065cd592bdcbcc410f1b39dd50a 100644
|
| --- a/tools/clang/blink_gc_plugin/DiagnosticsReporter.cpp
|
| +++ b/tools/clang/blink_gc_plugin/DiagnosticsReporter.cpp
|
| @@ -210,6 +210,8 @@ DiagnosticsReporter::DiagnosticsReporter(
|
| getErrorLevel(), kLeftMostBaseMustBePolymorphic);
|
| diag_base_class_must_declare_virtual_trace_ = diagnostic_.getCustomDiagID(
|
| getErrorLevel(), kBaseClassMustDeclareVirtualTrace);
|
| + diag_iterator_to_gc_managed_collection_note_ = diagnostic_.getCustomDiagID(
|
| + getErrorLevel(), kIteratorToGCManagedCollectionNote);
|
|
|
| // Register note messages.
|
| diag_base_requires_tracing_note_ = diagnostic_.getCustomDiagID(
|
| @@ -256,8 +258,6 @@ DiagnosticsReporter::DiagnosticsReporter(
|
| DiagnosticsEngine::Note, kOverriddenNonVirtualTraceNote);
|
| diag_manual_dispatch_method_note_ = diagnostic_.getCustomDiagID(
|
| DiagnosticsEngine::Note, kManualDispatchMethodNote);
|
| - diag_iterator_to_gc_managed_collection_note_ = diagnostic_.getCustomDiagID(
|
| - DiagnosticsEngine::Note, kIteratorToGCManagedCollectionNote);
|
| }
|
|
|
| bool DiagnosticsReporter::hasErrorOccurred() const
|
|
|