diff options
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
-rw-r--r-- | llvm/lib/AsmParser/LLParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp index d326edf..c302198 100644 --- a/llvm/lib/AsmParser/LLParser.cpp +++ b/llvm/lib/AsmParser/LLParser.cpp @@ -46,7 +46,7 @@ bool LLParser::Run() { // Prime the lexer. Lex.Lex(); - if (Context.discardValueNames()) + if (Context.shouldDiscardValueNames()) return Error( Lex.getLoc(), "Can't read textual IR with a Context that discards named Values"); |