Revert r252249 (and r252255, r252258), "[WinEH] Clone funclets with multiple parents"
[oota-llvm.git] / lib / AsmParser / LLParser.cpp
index 7774a70f5f44c5e8059e3b4c71b5ebb96a239fa3..1c219ad6cd8ec22017695f1a074ae286b25f36c2 100644 (file)
@@ -5322,8 +5322,7 @@ bool LLParser::ParseCleanupEndPad(Instruction *&Inst, PerFunctionState &PFS) {
     if (Lex.getKind() == lltok::kw_caller) {
       Lex.Lex();
     } else {
-      return Error(Lex.getLoc(),
-                   "'to' must be followed by 'caller' in catchendpad");
+      return true;
     }
   } else {
     if (ParseTypeAndBasicBlock(UnwindBB, PFS)) {