r182742 - Remove unreachable return

David Blaikie dblaikie at gmail.com
Mon May 27 13:43:55 PDT 2013


Author: dblaikie
Date: Mon May 27 15:43:54 2013
New Revision: 182742

URL: http://llvm.org/viewvc/llvm-project?rev=182742&view=rev
Log:
Remove unreachable return

Modified:
    cfe/trunk/lib/Format/UnwrappedLineParser.h

Modified: cfe/trunk/lib/Format/UnwrappedLineParser.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/UnwrappedLineParser.h?rev=182742&r1=182741&r2=182742&view=diff
==============================================================================
--- cfe/trunk/lib/Format/UnwrappedLineParser.h (original)
+++ cfe/trunk/lib/Format/UnwrappedLineParser.h Mon May 27 15:43:54 2013
@@ -123,7 +123,6 @@ public:
   virtual unsigned getPosition() { return 0; }
   virtual FormatToken setPosition(unsigned Position) {
     llvm_unreachable("Interface in transition; do not call!");
-    return FormatToken();
   }
 };
 





More information about the cfe-commits mailing list