summaryrefslogtreecommitdiff
path: root/chromium/tools/clang/plugins/Options.h
blob: cf04601ed1d3ee40e25208c36a4d5a7e908e861e (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
// 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_thirdparty_webkit = false;  // Use in Blink code itself
  bool check_enum_last_value = false;
  // This is needed for some distributed build-sytems to respect banned
  // paths. See https://crbug.com/583454 for details.
  bool no_realpath = false;
  bool check_ipc = false;
  // Enforce that auto doesn't deduce to a raw pointer. See
  // https://crbug.com/554600 for details.
  bool check_auto_raw_pointer = false;
};

}  // namespace chrome_checker

#endif  // TOOLS_CLANG_PLUGINS_OPTIONS_H_