[clang-tools-extra] 0196600 - [clang-tidy] Fix incorrect default option in fc3c693b61

Nathan James via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 6 06:44:12 PDT 2020


Author: Nathan James
Date: 2020-07-06T14:44:03+01:00
New Revision: 01966003674d49e06632495fec2a5a7b3fd58a80

URL: https://github.com/llvm/llvm-project/commit/01966003674d49e06632495fec2a5a7b3fd58a80
DIFF: https://github.com/llvm/llvm-project/commit/01966003674d49e06632495fec2a5a7b3fd58a80.diff

LOG: [clang-tidy] Fix incorrect default option in fc3c693b61

Added: 
    

Modified: 
    clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp b/clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp
index 0310a8e07a2d..bf871e21f501 100644
--- a/clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp
+++ b/clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp
@@ -44,7 +44,7 @@ class LLVMModule : public ClangTidyModule {
     ClangTidyOptions Options;
     Options.CheckOptions["llvm-qualified-auto.AddConstToQualified"] = "0";
     Options.CheckOptions["llvm-else-after-return.WarnOnUnfixable"] = "0";
-    Options.CheckOptions["llvm-else-after-return.RefactorConditionVariables"] =
+    Options.CheckOptions["llvm-else-after-return.WarnOnConditionVariables"] =
         "0";
     return Options;
   }


        


More information about the cfe-commits mailing list