diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-03-27 14:53:37 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-03-27 14:53:37 +0000 |
commit | 4dd18130437942695dc7661347367bba5b43fa43 (patch) | |
tree | 3abf13b407af79bc655b323eaf60ebf812218ea5 /clang-tools-extra/clang-tidy/ClangTidy.cpp | |
parent | 9f388d04041747b5aa6b875f0877f799d74351a9 (diff) | |
download | bcm5719-llvm-4dd18130437942695dc7661347367bba5b43fa43.tar.gz bcm5719-llvm-4dd18130437942695dc7661347367bba5b43fa43.zip |
ClangTidy.cpp: Don't use non-static member initializer, for msc17.
llvm-svn: 204931
Diffstat (limited to 'clang-tools-extra/clang-tidy/ClangTidy.cpp')
-rw-r--r-- | clang-tools-extra/clang-tidy/ClangTidy.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/clang-tidy/ClangTidy.cpp b/clang-tools-extra/clang-tidy/ClangTidy.cpp index f481db27df6..84a208ed12d 100644 --- a/clang-tools-extra/clang-tidy/ClangTidy.cpp +++ b/clang-tools-extra/clang-tidy/ClangTidy.cpp @@ -100,7 +100,7 @@ public: Diags(IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs), &*DiagOpts, DiagPrinter), SourceMgr(Diags, Files), Rewrite(SourceMgr, LangOpts), - ApplyFixes(ApplyFixes) { + ApplyFixes(ApplyFixes), TotalFixes(0), AppliedFixes(0) { DiagOpts->ShowColors = llvm::sys::Process::StandardOutHasColors(); DiagPrinter->BeginSourceFile(LangOpts); } @@ -166,8 +166,8 @@ private: SourceManager SourceMgr; Rewriter Rewrite; bool ApplyFixes; - unsigned TotalFixes = 0; - unsigned AppliedFixes = 0; + unsigned TotalFixes; + unsigned AppliedFixes; }; } // namespace |