diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-16 07:04:11 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-16 07:04:11 +0000 |
commit | 9dcfdf61a843665ef2ab07ad5d8c0b213ef4b059 (patch) | |
tree | 767cf0b96963a756c1394cfd224937e587c5d498 /include/llvm/MC/MCAsmInfo.h | |
parent | 23262fb8a08d6dc0f1d4f0665f6f8731ee7cf710 (diff) | |
download | llvm-9dcfdf61a843665ef2ab07ad5d8c0b213ef4b059.tar.gz llvm-9dcfdf61a843665ef2ab07ad5d8c0b213ef4b059.tar.bz2 llvm-9dcfdf61a843665ef2ab07ad5d8c0b213ef4b059.tar.xz |
CommentColumn is always 40. Simplify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199357 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCAsmInfo.h')
-rw-r--r-- | include/llvm/MC/MCAsmInfo.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/MC/MCAsmInfo.h b/include/llvm/MC/MCAsmInfo.h index 0d1052be6d..d3f48660ab 100644 --- a/include/llvm/MC/MCAsmInfo.h +++ b/include/llvm/MC/MCAsmInfo.h @@ -101,10 +101,6 @@ namespace llvm { /// instructions from each other when on the same line. const char *SeparatorString; // Defaults to ';' - /// CommentColumn - This indicates the comment num (zero-based) at - /// which asm comments should be printed. - unsigned CommentColumn; // Defaults to 40 - /// CommentString - This indicates the comment character used by the /// assembler. const char *CommentString; // Defaults to "#" @@ -407,9 +403,13 @@ namespace llvm { const char *getSeparatorString() const { return SeparatorString; } + + /// This indicates the column (zero-based) at which asm comments should be + /// printed. unsigned getCommentColumn() const { - return CommentColumn; + return 40; } + const char *getCommentString() const { return CommentString; } |