From 7e54fef1c2c8d260a8fb3ff98f55cc69c6e90a0e Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Thu, 30 Oct 2014 05:17:10 +0000 Subject: [PATCH] Remove some duplicate functions from the Parser class. Identical functions already exist in the clang namespace from Sema/Ownership.h. llvm-svn: 220896 --- clang/include/clang/Parse/Parser.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/clang/include/clang/Parse/Parser.h b/clang/include/clang/Parse/Parser.h index b1a8fc13948f..4e269818393a 100644 --- a/clang/include/clang/Parse/Parser.h +++ b/clang/include/clang/Parse/Parser.h @@ -268,14 +268,6 @@ public: typedef MutableArrayRef MultiStmtArg; typedef Sema::FullExprArg FullExprArg; - ExprResult ExprError() { return ExprResult(true); } - StmtResult StmtError() { return StmtResult(true); } - - ExprResult ExprError(const DiagnosticBuilder &) { return ExprError(); } - StmtResult StmtError(const DiagnosticBuilder &) { return StmtError(); } - - ExprResult ExprEmpty() { return ExprResult(false); } - // Parsing methods. /// Initialize - Warm up the parser.