[llvm] r367263 - [clang-tidy]: Google: new check 'google-upgrade-googletest-case'

Eric Fiselier via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 29 14:38:56 PDT 2019


Author: ericwf
Date: Mon Jul 29 14:38:56 2019
New Revision: 367263

URL: http://llvm.org/viewvc/llvm-project?rev=367263&view=rev
Log:
[clang-tidy]: Google: new check 'google-upgrade-googletest-case'

Introduce a new check to upgrade user code based on API changes in Googletest.

The check finds uses of old Googletest APIs with "case" in their name and replaces them with the new APIs named with "suite".

Patch by Alex Strelnikov (strel at google.com)
Reviewed as D62977.

Modified:
    llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/google/BUILD.gn

Modified: llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/google/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/google/BUILD.gn?rev=367263&r1=367262&r2=367263&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/google/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/google/BUILD.gn Mon Jul 29 14:38:56 2019
@@ -28,6 +28,7 @@ static_library("google") {
     "OverloadedUnaryAndCheck.cpp",
     "TodoCommentCheck.cpp",
     "UnnamedNamespaceInHeaderCheck.cpp",
+    "UpgradeGoogletestCaseCheck.cpp",
     "UsingNamespaceDirectiveCheck.cpp",
   ]
 }




More information about the llvm-commits mailing list