r203079 - Remove 2 dead 'break' statements. The 'break' usage in this switch is inconsistent, making this hard to see.

Ted Kremenek kremenek at apple.com
Wed Mar 5 21:37:35 PST 2014


Author: kremenek
Date: Wed Mar  5 23:37:35 2014
New Revision: 203079

URL: http://llvm.org/viewvc/llvm-project?rev=203079&view=rev
Log:
Remove 2 dead 'break' statements.  The 'break' usage in this switch is inconsistent, making this hard to see.

Modified:
    cfe/trunk/lib/Sema/SemaDeclAttr.cpp

Modified: cfe/trunk/lib/Sema/SemaDeclAttr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclAttr.cpp?rev=203079&r1=203078&r2=203079&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclAttr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclAttr.cpp Wed Mar  5 23:37:35 2014
@@ -4353,10 +4353,8 @@ static void ProcessDeclAttribute(Sema &S
     break;
   case AttributeList::AT_ConsumableAutoCast:
     handleSimpleAttribute<ConsumableAutoCastAttr>(S, D, Attr); break;
-    break;
   case AttributeList::AT_ConsumableSetOnRead:
     handleSimpleAttribute<ConsumableSetOnReadAttr>(S, D, Attr); break;
-    break;
   case AttributeList::AT_CallableWhen:
     handleCallableWhenAttr(S, D, Attr);
     break;





More information about the cfe-commits mailing list