[PATCH] Fix ClangTidyOptions constructor to initialize all members. Fixes bug introduced in r207652.

Alex McCarthy alexmc at google.com
Wed Apr 30 15:23:34 PDT 2014


Hi rsmith,

http://reviews.llvm.org/D3578

Files:
  clang-tidy/ClangTidyOptions.h

Index: clang-tidy/ClangTidyOptions.h
===================================================================
--- clang-tidy/ClangTidyOptions.h
+++ clang-tidy/ClangTidyOptions.h
@@ -15,7 +15,7 @@
 
 /// \brief Contains options for clang-tidy.
 struct ClangTidyOptions {
-  ClangTidyOptions() : EnableChecksRegex(".*") {}
+  ClangTidyOptions() : EnableChecksRegex(".*"), AnalyzeTemporaryDtors(false) {}
   std::string EnableChecksRegex;
   std::string DisableChecksRegex;
   bool AnalyzeTemporaryDtors;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3578.8995.patch
Type: text/x-patch
Size: 497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140430/8c913a57/attachment.bin>


More information about the cfe-commits mailing list