blob: 582dc78563669efba5bcd1f5de9c1c14bb9f4d95 [file] [log] [blame]
Alexander Kornienko33a9bcc2014-04-29 15:20:10 +00001//===--- ClangTidyOptions.h - clang-tidy ------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANG_TIDY_OPTIONS_H
11#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANG_TIDY_OPTIONS_H
12
13namespace clang {
14namespace tidy {
15
16/// \brief Contains options for clang-tidy.
17struct ClangTidyOptions {
Alex McCarthy3b510bc2014-04-30 22:32:51 +000018 ClangTidyOptions() : EnableChecksRegex(".*"), AnalyzeTemporaryDtors(false) {}
Alexander Kornienko33a9bcc2014-04-29 15:20:10 +000019 std::string EnableChecksRegex;
20 std::string DisableChecksRegex;
Alex McCarthyfec08c72014-04-30 14:09:24 +000021 bool AnalyzeTemporaryDtors;
Alexander Kornienko33a9bcc2014-04-29 15:20:10 +000022};
23
24} // end namespace tidy
25} // end namespace clang
26
27#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANG_TIDY_OPTIONS_H