Remove some duplicate functions from the Parser class. Identical functions already exist in the clang namespace from Sema/Ownership.h.

llvm-svn: 220896
This commit is contained in:
Craig Topper 2014-10-30 05:17:10 +00:00
parent 5f687a036f
commit 7e54fef1c2
1 changed files with 0 additions and 8 deletions

View File

@ -268,14 +268,6 @@ public:
typedef MutableArrayRef<Stmt*> 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.