blob: 093305d880c95003e8fd9ca1ddf39a8143ad4ec0 [file] [log] [blame] [edit]
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
struct BlinkGCPluginOptions;
class DiagnosticsReporter;
class RecordCache;
namespace clang {
class ASTContext;
} // namespace clang
// Detects and reports use of banned patterns, such as applying
// std::make_unique to a garbage-collected type.
void FindBadPatterns(clang::ASTContext& ast_context,
DiagnosticsReporter&,
RecordCache& record_cache,
const BlinkGCPluginOptions&);