blob: 4986ac28a015ae1cf029a4d955f88e087d13619e [file] [log] [blame]
// 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.
struct BlinkGCPluginOptions;
class DiagnosticsReporter;
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&,
const BlinkGCPluginOptions&);