[clang-tools-extra] r202969 - Fixed formatting.
Alexander Kornienko
alexfh at google.com
Wed Mar 5 05:01:24 PST 2014
Author: alexfh
Date: Wed Mar 5 07:01:24 2014
New Revision: 202969
URL: http://llvm.org/viewvc/llvm-project?rev=202969&view=rev
Log:
Fixed formatting.
Modified:
clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp
clang-tools-extra/trunk/clang-tidy/ClangTidyModule.h
clang-tools-extra/trunk/clang-tidy/google/GoogleTidyModule.cpp
clang-tools-extra/trunk/clang-tidy/google/GoogleTidyModule.h
clang-tools-extra/trunk/clang-tidy/llvm/LLVMTidyModule.cpp
clang-tools-extra/trunk/clang-tidy/llvm/LLVMTidyModule.h
Modified: clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp?rev=202969&r1=202968&r2=202969&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp Wed Mar 5 07:01:24 2014
@@ -266,9 +266,7 @@ void runClangTidy(StringRef EnableChecks
public:
ActionFactory(ClangTidyASTConsumerFactory *ConsumerFactory)
: ConsumerFactory(ConsumerFactory) {}
- FrontendAction *create() override {
- return new Action(ConsumerFactory);
- }
+ FrontendAction *create() override { return new Action(ConsumerFactory); }
private:
class Action : public ASTFrontendAction {
Modified: clang-tools-extra/trunk/clang-tidy/ClangTidyModule.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/ClangTidyModule.h?rev=202969&r1=202968&r2=202969&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/ClangTidyModule.h (original)
+++ clang-tools-extra/trunk/clang-tidy/ClangTidyModule.h Wed Mar 5 07:01:24 2014
@@ -44,8 +44,7 @@ public:
/// you can register it with:
/// \code
/// class MyModule : public ClangTidyModule {
-/// void
-/// addCheckFactories(ClangTidyCheckFactories &CheckFactories) override {
+/// void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override {
/// CheckFactories.addCheckFactory(
/// "myproject-my-check", new ClangTidyCheckFactory<MyTidyCheck>());
/// }
Modified: clang-tools-extra/trunk/clang-tidy/google/GoogleTidyModule.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/google/GoogleTidyModule.cpp?rev=202969&r1=202968&r2=202969&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/google/GoogleTidyModule.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/google/GoogleTidyModule.cpp Wed Mar 5 07:01:24 2014
@@ -44,8 +44,7 @@ void ExplicitConstructorCheck::check(con
class GoogleModule : public ClangTidyModule {
public:
- void
- addCheckFactories(ClangTidyCheckFactories &CheckFactories) override {
+ void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override {
CheckFactories.addCheckFactory(
"google-explicit-constructor",
new ClangTidyCheckFactory<ExplicitConstructorCheck>());
Modified: clang-tools-extra/trunk/clang-tidy/google/GoogleTidyModule.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/google/GoogleTidyModule.h?rev=202969&r1=202968&r2=202969&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/google/GoogleTidyModule.h (original)
+++ clang-tools-extra/trunk/clang-tidy/google/GoogleTidyModule.h Wed Mar 5 07:01:24 2014
@@ -22,8 +22,7 @@ namespace tidy {
class ExplicitConstructorCheck : public ClangTidyCheck {
public:
void registerMatchers(ast_matchers::MatchFinder *Finder) override;
- void
- check(const ast_matchers::MatchFinder::MatchResult &Result) override;
+ void check(const ast_matchers::MatchFinder::MatchResult &Result) override;
};
} // namespace tidy
Modified: clang-tools-extra/trunk/clang-tidy/llvm/LLVMTidyModule.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/llvm/LLVMTidyModule.cpp?rev=202969&r1=202968&r2=202969&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/llvm/LLVMTidyModule.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/llvm/LLVMTidyModule.cpp Wed Mar 5 07:01:24 2014
@@ -78,8 +78,7 @@ void IncludeOrderCheck::registerPPCallba
class LLVMModule : public ClangTidyModule {
public:
- void
- addCheckFactories(ClangTidyCheckFactories &CheckFactories) override {
+ void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override {
CheckFactories.addCheckFactory(
"llvm-include-order", new ClangTidyCheckFactory<IncludeOrderCheck>());
CheckFactories.addCheckFactory(
Modified: clang-tools-extra/trunk/clang-tidy/llvm/LLVMTidyModule.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/llvm/LLVMTidyModule.h?rev=202969&r1=202968&r2=202969&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/llvm/LLVMTidyModule.h (original)
+++ clang-tools-extra/trunk/clang-tidy/llvm/LLVMTidyModule.h Wed Mar 5 07:01:24 2014
@@ -29,8 +29,7 @@ public:
class NamespaceCommentCheck : public ClangTidyCheck {
public:
void registerMatchers(ast_matchers::MatchFinder *Finder) override;
- void
- check(const ast_matchers::MatchFinder::MatchResult &Result) override;
+ void check(const ast_matchers::MatchFinder::MatchResult &Result) override;
};
} // namespace tidy
More information about the cfe-commits
mailing list