summaryrefslogtreecommitdiff
path: root/include/llvm/Assembly
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-08 22:20:35 +0000
committerDan Gohman <gohman@apple.com>2009-09-08 22:20:35 +0000
commitf31657990191d5b2bb1eb3bd95020fc3375f0e3d (patch)
tree5e170bb6abddf76e773581fda8a7ade5387d8565 /include/llvm/Assembly
parentf1c3d5010f465057600c9085bdb15a702ef4a598 (diff)
downloadllvm-f31657990191d5b2bb1eb3bd95020fc3375f0e3d.tar.gz
llvm-f31657990191d5b2bb1eb3bd95020fc3375f0e3d.tar.bz2
llvm-f31657990191d5b2bb1eb3bd95020fc3375f0e3d.tar.xz
Use MemoryBuffer::getBufferIdentifier() in the AsmPrinter instead
of requiring a name be passed in. This makes it use "<stdin>" instead of "-" and makes it more consistent with the Bitcode reader. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81256 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r--include/llvm/Assembly/Parser.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/Assembly/Parser.h b/include/llvm/Assembly/Parser.h
index a508d5ce10..82ec6d8136 100644
--- a/include/llvm/Assembly/Parser.h
+++ b/include/llvm/Assembly/Parser.h
@@ -55,7 +55,6 @@ Module *ParseAssemblyString(
/// takes ownership of the MemoryBuffer.
Module *ParseAssembly(
MemoryBuffer *F, ///< The MemoryBuffer containing assembly
- const std::string &Name, ///< The name of the original source file
Module *M, ///< A module to add the assembly too.
SMDiagnostic &Err, ///< Error result info.
LLVMContext &Context