Author: mrs
Date: Mon Jan 18 12:41:43 2010
New Revision: 93743

URL: http://llvm.org/viewvc/llvm-project?rev=93743&view=rev
Log:
Silence a control reaches end of function warning.  Patch by Enea
Zaffanella.

Modified:
    cfe/trunk/include/clang/AST/TypeLocVisitor.h

Modified: cfe/trunk/include/clang/AST/TypeLocVisitor.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/TypeLocVisitor.h?rev=93743&r1=93742&r2=93743&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/TypeLocVisitor.h (original)
+++ cfe/trunk/include/clang/AST/TypeLocVisitor.h Mon Jan 18 12:41:43 2010
@@ -43,6 +43,7 @@
     case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
 #include "clang/AST/TypeLocNodes.def"
     }
+    llvm_unreachable("unexpected type loc class!");
   }
 
 #define TYPELOC(CLASS, PARENT)      \


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

Reply via email to