]> granicus.if.org Git - clang/commitdiff
Add missing break statements.
authorTed Kremenek <kremenek@apple.com>
Tue, 19 Apr 2011 04:36:17 +0000 (04:36 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 19 Apr 2011 04:36:17 +0000 (04:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129750 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/CIndex.cpp

index 0d0f08f4e111f588f209bab013f550f757777d88..dc74cd35ea73b3990754bf2ecd5a172a87ed13b6 100644 (file)
@@ -5202,8 +5202,10 @@ const char *clang_getTUMemoryUsageName(CXTUMemoryUsageKind kind) {
       break;
     case CXTUMemoryUsage_Selectors:
       str = "ASTContext: selectors";
+      break;
     case CXTUMemoryUsage_GlobalCompletionResults:
       str = "Code completion: cached global results";
+      break;
   }
   return str;
 }