hanchenye-llvm-project/clang-tools-extra
Alexander Kornienko a46952221e Allow per-file clang-tidy options.
Summary:
This patch makes it possible for clang-tidy clients to provide
different options for different translation units. The option, which doesn't
make sense to be file-dependent, was moved to a separate ClangTidyGlobalOptions
struct. Added parsing of ClangTidyOptions.

Reviewers: klimek

Reviewed By: klimek

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D3979

llvm-svn: 210260
2014-06-05 13:31:45 +00:00
..
clang-apply-replacements [C++11] Replace OwningPtr with std::unique_ptr. 2014-03-09 09:24:40 +00:00
clang-modernize Use error_code() instead of error_code::succes() 2014-05-31 02:00:59 +00:00
clang-query Fix clang-query on Windows: flush llvm::outs() after each command. 2014-05-21 18:10:47 +00:00
clang-tidy Allow per-file clang-tidy options. 2014-06-05 13:31:45 +00:00
docs Update clang-tidy documentation. 2014-05-16 13:07:18 +00:00
modularize Remove inclusions of LLVM's private config.h 2014-06-04 03:34:26 +00:00
module-map-checker [C++11] Replace OwningPtr with std::unique_ptr. 2014-03-09 09:24:40 +00:00
pp-trace Remove inclusions of LLVM's private config.h 2014-06-04 03:34:26 +00:00
remove-cstr-calls Try to fix the build. newFrontendActionFactory was changed to return a unique_ptr. 2014-04-28 10:06:50 +00:00
test clang-tidy: Make use-override tests stricter. 2014-06-04 08:47:25 +00:00
tool-template Try to fix the build. newFrontendActionFactory was changed to return a unique_ptr. 2014-04-28 10:06:50 +00:00
unittests Allow per-file clang-tidy options. 2014-06-05 13:31:45 +00:00
.arcconfig Update arc config to new domain. 2014-04-07 10:23:19 +00:00
.gitignore .gitignore: ignore docs/_build 2013-03-03 15:15:12 +00:00
CMakeLists.txt Switch clang-query to use the lineeditor library. 2014-02-01 01:42:42 +00:00
CODE_OWNERS.TXT Switching code owner email address. 2013-10-08 16:28:05 +00:00
LICENSE.TXT Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
Makefile Initial checkin of new module-map-checker tool. 2014-01-07 15:22:08 +00:00
README.txt Reverted Test commit; added new line to the end of README.txt 2013-10-12 20:43:36 +00:00

README.txt

//===----------------------------------------------------------------------===//
// Clang Tools repository
//===----------------------------------------------------------------------===//

Welcome to the repository of extra Clang Tools.  This repository holds tools
that are developed as part of the LLVM compiler infrastructure project and the
Clang frontend.  These tools are kept in a separate "extra" repository to
allow lighter weight checkouts of the core Clang codebase.

This repository is only intended to be checked out inside of a full LLVM+Clang
tree, and in the 'tools/extra' subdirectory of the Clang checkout.

All discussion regarding Clang, Clang-based tools, and code in this repository
should be held using the standard Clang mailing lists:
  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Code review for this tree should take place on the standard Clang patch and
commit lists:
  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

If you find a bug in these tools, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/