From b6e678b1c8ff07e3ba681f1f365762ef8c4d84f7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 18 Aug 2004 02:22:34 +0000 Subject: [PATCH] Alkis pointed out that this is not a character (we actually support strings) and as such, we should use self revealing names. Hey, makes sense to me! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15896 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/AsmPrinter.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index bb41ad5663e..00f3b74d856 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -45,9 +45,9 @@ namespace llvm { // Properties to be set by the derived class ctor, used to configure the // asmwriter. - /// CommentChar - This indicates the comment character used by the + /// CommentString - This indicates the comment character used by the /// assembler. - const char *CommentChar; // Defaults to "#" + const char *CommentString; // Defaults to "#" /// GlobalPrefix - If this is set to a non-empty string, it is prepended /// onto all global symbols. This is often used for "_" or ".". @@ -84,7 +84,7 @@ namespace llvm { AsmPrinter(std::ostream &o, TargetMachine &tm) : O(o), TM(tm), - CommentChar("#"), + CommentString("#"), GlobalPrefix(""), ZeroDirective("\t.zero\t"), AsciiDirective("\t.ascii\t"),