r358973 - Fix "-Wimplicit-fallthrough" warning. NFCI.

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 23 04:45:28 PDT 2019


Author: rksimon
Date: Tue Apr 23 04:45:28 2019
New Revision: 358973

URL: http://llvm.org/viewvc/llvm-project?rev=358973&view=rev
Log:
Fix "-Wimplicit-fallthrough" warning. NFCI.

Modified:
    cfe/trunk/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp

Modified: cfe/trunk/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp?rev=358973&r1=358972&r2=358973&view=diff
==============================================================================
--- cfe/trunk/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp (original)
+++ cfe/trunk/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp Tue Apr 23 04:45:28 2019
@@ -90,6 +90,7 @@ void MapExtDefNamesConsumer::addIfInMain
   case UniqueExternalLinkage:
     if (SM.isInMainFile(defStart))
       Index[LookupName] = CurrentFileName;
+    break;
   default:
     break;
   }




More information about the cfe-commits mailing list