From 34bb463f0038e9836add913acbb343cb4a1fe25b 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220896 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Parse/Parser.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/clang/Parse/Parser.h b/include/clang/Parse/Parser.h index b1a8fc1394..4e26981839 100644 --- a/include/clang/Parse/Parser.h +++ b/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. -- 2.40.0