• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 class DiagnosticsReporter;
6 
7 namespace clang {
8 class ASTContext;
9 }  // namespace clang
10 
11 // Detects and reports use of banned patterns, such as applying
12 // std::make_unique to a garbage-collected type.
13 void FindBadPatterns(clang::ASTContext& ast_context, DiagnosticsReporter&);
14