forked from OSchip/llvm-project
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:
parent
5f687a036f
commit
7e54fef1c2
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue