Alkis pointed out that this is not a character (we actually support strings)
authorChris Lattner <sabre@nondot.org>
Wed, 18 Aug 2004 02:22:34 +0000 (02:22 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 18 Aug 2004 02:22:34 +0000 (02:22 +0000)
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

index bb41ad5663ea4bd9ba4639a8c320334f81fbc12c..00f3b74d856cfee4661198268bcf4e8c36edb886 100644 (file)
@@ -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"),