[clang-tools-extra] 089e628 - Add a break statement to appease the build bots; NFC

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 3 08:11:14 PDT 2020


Author: Aaron Ballman
Date: 2020-10-03T11:10:26-04:00
New Revision: 089e628b61f929ccd26565cd4118395f0a0273c3

URL: https://github.com/llvm/llvm-project/commit/089e628b61f929ccd26565cd4118395f0a0273c3
DIFF: https://github.com/llvm/llvm-project/commit/089e628b61f929ccd26565cd4118395f0a0273c3.diff

LOG: Add a break statement to appease the build bots; NFC

Added: 
    

Modified: 
    clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp b/clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
index ff2f62e6545b..bbb1e8c65a4f 100644
--- a/clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
+++ b/clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
@@ -70,6 +70,7 @@ struct UnqualNameVisitor : public RecursiveASTVisitor<UnqualNameVisitor> {
         if (VisitUnqualName(
                 TL.getAs<TypedefTypeLoc>().getTypePtr()->getDecl()->getName()))
           return false;
+        break;
       default:
         break;
       }


        


More information about the cfe-commits mailing list