diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-18 02:22:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-18 02:22:34 +0000 |
commit | b6e678b1c8ff07e3ba681f1f365762ef8c4d84f7 (patch) | |
tree | c483bf03136a4ec5ffb9ad488c321cfb3249761d | |
parent | 30bad4af40d0126f888f601fb46d01e2b39dbc43 (diff) |
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
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index bb41ad5663..00f3b74d85 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"), |