summaryrefslogtreecommitdiffstats
path: root/tools/clang/plugins/Options.h
blob: e56084e428d508cb23769e4a1c6865ea3a8657f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) 2012 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 TOOLS_CLANG_PLUGINS_OPTIONS_H_
#define TOOLS_CLANG_PLUGINS_OPTIONS_H_

namespace chrome_checker {

struct Options {
  bool check_base_classes = false;
  bool enforce_in_pdf = false;
  bool enforce_in_thirdparty_webkit = false;  // Use in Blink code itself
  bool check_enum_last_value = false;
  bool check_templates = false;
  bool follow_macro_expansion = false;
  // This is needed during the migration from ASTConsumer approach to the
  // RecursiveASTVisitor approach. See https://crbug.com/436357 for details.
  bool check_implicit_copy_ctors = false;

  // This is needed for some distributed build-sytems to respect banned
  // paths. See https://crbug.com/583454 for details.
  bool no_realpath = false;
};

}  // namespace chrome_checker

#endif  // TOOLS_CLANG_PLUGINS_OPTIONS_H_