summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-18 02:22:34 +0000
committerChris Lattner <sabre@nondot.org>2004-08-18 02:22:34 +0000
commitddc7e4863d3ff4250b0481668fa1bb51b596c3ac (patch)
tree64498ceee5e99c603cdc0f10edd2d4ab609dcc82
parent6a9f355b1b1fd4e146d494991d6cddf1199a2583 (diff)
downloadbcm5719-llvm-ddc7e4863d3ff4250b0481668fa1bb51b596c3ac.tar.gz
bcm5719-llvm-ddc7e4863d3ff4250b0481668fa1bb51b596c3ac.zip
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! llvm-svn: 15896
-rw-r--r--llvm/include/llvm/CodeGen/AsmPrinter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h
index bb41ad5663e..00f3b74d856 100644
--- a/llvm/include/llvm/CodeGen/AsmPrinter.h
+++ b/llvm/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"),
OpenPOWER on IntegriCloud