aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/AsmPrinter.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-07-08 00:55:58 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-07-08 00:55:58 +0000
commit77c8f7674db1a3c57fa9d8916957a01f9961ef9c (patch)
tree90ccf90964af2b7e3eaf73f68a25e879fd4a9d84 /include/llvm/CodeGen/AsmPrinter.h
parent82eec45b00ae42c6221e6e8d7886c36cc75b1efb (diff)
Avoid unnecessary string construction during asm printing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53215 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index fbb0821c21..3514af7c81 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -351,6 +351,7 @@ namespace llvm {
/// printSuffixedName - This prints a name with preceding
/// getPrivateGlobalPrefix and the specified suffix, handling quoted names
/// correctly.
+ void printSuffixedName(const char *Name, const char* Suffix);
void printSuffixedName(std::string &Name, const char* Suffix);
private: