Author: d0k
Date: Thu Apr 18 05:44:27 2013
New Revision: 179753

URL: http://llvm.org/viewvc/llvm-project?rev=179753&view=rev
Log:
Add llvm_unreachable at end of fully covered switch to pacify GCC.

Modified:
    cfe/trunk/include/clang/Sema/ScopeInfo.h

Modified: cfe/trunk/include/clang/Sema/ScopeInfo.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/ScopeInfo.h?rev=179753&r1=179752&r2=179753&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/ScopeInfo.h (original)
+++ cfe/trunk/include/clang/Sema/ScopeInfo.h Thu Apr 18 05:44:27 2013
@@ -529,6 +529,7 @@ public:
     case CR_Default:
       return "default captured statement";
     }
+    llvm_unreachable("Invalid captured region kind!");
   }
 
   static bool classof(const FunctionScopeInfo *FSI) {


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to