]> granicus.if.org Git - clang/commit
[clang-tidy] Make NumOccurrenceFlag for SourcePaths configurable.
authorAlexander Kornienko <alexfh@google.com>
Mon, 17 Aug 2015 10:01:42 +0000 (10:01 +0000)
committerAlexander Kornienko <alexfh@google.com>
Mon, 17 Aug 2015 10:01:42 +0000 (10:01 +0000)
commit19d5024c80be82539a37d2df7d25a6655687c2ea
treece76f9b6500c0b755a0b2362a913c93d7906fbd8
parentc9d67f175e22fa6b17c47131880b1745669bf4bb
[clang-tidy] Make NumOccurrenceFlag for SourcePaths configurable.

Added an additional ctor that takes a NumOccurrenceFlag parameter for the
SourcePaths option. This frees applications from always having to pass at least
one source file, e.g., -list-checks.

http://reviews.llvm.org/D12069

Patch by Don Hinton!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245204 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Tooling/CommonOptionsParser.h
lib/Tooling/CommonOptionsParser.cpp