Update for llvm api change.

llvm-svn: 244856
This commit is contained in:
Rafael Espindola
2015-08-13 01:07:08 +00:00
parent 817d962ef0
commit f0461ba985
6 changed files with 12 additions and 12 deletions

View File

@@ -109,7 +109,7 @@ private:
class Parser {
public:
explicit Parser(StringRef S, BumpPtrStringSaver *A) : Lex(S), Alloc(A) {}
explicit Parser(StringRef S, StringSaver *A) : Lex(S), Alloc(A) {}
void parse() {
do {
@@ -270,12 +270,12 @@ private:
Lexer Lex;
Token Tok;
std::vector<Token> Stack;
BumpPtrStringSaver *Alloc;
StringSaver *Alloc;
};
} // anonymous namespace
void parseModuleDefs(MemoryBufferRef MB, BumpPtrStringSaver *Alloc) {
void parseModuleDefs(MemoryBufferRef MB, StringSaver *Alloc) {
Parser(MB.getBuffer(), Alloc).parse();
}