File tree Expand file tree Collapse file tree 3 files changed +1204
-1197
lines changed Expand file tree Collapse file tree 3 files changed +1204
-1197
lines changed Original file line number Diff line number Diff line change @@ -524,6 +524,9 @@ class MCAsmInfo {
524
524
// / Preserve Comments in assembly
525
525
bool PreserveAsmComments;
526
526
527
+ // / The column (zero-based) at which asm comments should be printed.
528
+ unsigned CommentColumn = 40 ;
529
+
527
530
// / True if the integrated assembler should interpret 'a >> b' constant
528
531
// / expressions as logical rather than arithmetic.
529
532
bool UseLogicalShr = true ;
@@ -638,9 +641,8 @@ class MCAsmInfo {
638
641
bool getStarIsPC () const { return StarIsPC; }
639
642
const char *getSeparatorString () const { return SeparatorString; }
640
643
641
- // / This indicates the column (zero-based) at which asm comments should be
642
- // / printed.
643
- unsigned getCommentColumn () const { return 40 ; }
644
+ unsigned getCommentColumn () const { return CommentColumn; }
645
+ void setCommentColumn (unsigned Col) { CommentColumn = Col; }
644
646
645
647
StringRef getCommentString () const { return CommentString; }
646
648
bool getRestrictCommentStringToStartOfStatement () const {
You can’t perform that action at this time.
0 commit comments