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 @@ -493,6 +493,9 @@ class MCAsmInfo {
493
493
// / Preserve Comments in assembly
494
494
bool PreserveAsmComments;
495
495
496
+ // / The column (zero-based) at which asm comments should be printed.
497
+ unsigned CommentColumn = 40 ;
498
+
496
499
// / True if the integrated assembler should interpret 'a >> b' constant
497
500
// / expressions as logical rather than arithmetic.
498
501
bool UseLogicalShr = true ;
@@ -606,9 +609,8 @@ class MCAsmInfo {
606
609
bool getStarIsPC () const { return StarIsPC; }
607
610
const char *getSeparatorString () const { return SeparatorString; }
608
611
609
- // / This indicates the column (zero-based) at which asm comments should be
610
- // / printed.
611
- unsigned getCommentColumn () const { return 40 ; }
612
+ unsigned getCommentColumn () const { return CommentColumn; }
613
+ void setCommentColumn (unsigned Col) { CommentColumn = Col; }
612
614
613
615
StringRef getCommentString () const { return CommentString; }
614
616
bool getRestrictCommentStringToStartOfStatement () const {
You can’t perform that action at this time.
0 commit comments