aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/AsmParser/LLParser.cpp
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-04-02 03:46:17 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-04-02 03:46:17 +0000
commit50af49fcdcf7cd48655553441dd25f58c0167c4f (patch)
tree02e05a520917ec537b6a0fc20ca139e7fb9a3a0f /llvm/lib/AsmParser/LLParser.cpp
parentc2822bd3d1ea4e8a4dd7107b62299476d19d4587 (diff)
downloadllvm-50af49fcdcf7cd48655553441dd25f58c0167c4f.zip
llvm-50af49fcdcf7cd48655553441dd25f58c0167c4f.tar.gz
llvm-50af49fcdcf7cd48655553441dd25f58c0167c4f.tar.bz2
Rename Context::discardValueNames() to shouldDiscardValueNames() (NFC)
Suggested by Sean Silva. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 265211
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
-rw-r--r--llvm/lib/AsmParser/LLParser.cpp2
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");