From 73163f875ad7e5d56aa7d0d29509eb1e04542742 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 5 Feb 2010 07:32:18 +0000 Subject: [PATCH] MC: Change default comment column to 40 characters. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95378 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCAsmInfo.h | 2 +- lib/MC/MCAsmInfo.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/MC/MCAsmInfo.h b/include/llvm/MC/MCAsmInfo.h index 633b6019a92..3effea43539 100644 --- a/include/llvm/MC/MCAsmInfo.h +++ b/include/llvm/MC/MCAsmInfo.h @@ -62,7 +62,7 @@ namespace llvm { /// CommentColumn - This indicates the comment num (zero-based) at /// which asm comments should be printed. - unsigned CommentColumn; // Defaults to 60 + unsigned CommentColumn; // Defaults to 40 /// CommentString - This indicates the comment character used by the /// assembler. diff --git a/lib/MC/MCAsmInfo.cpp b/lib/MC/MCAsmInfo.cpp index 74bacfc9d3f..f3f063f4e9f 100644 --- a/lib/MC/MCAsmInfo.cpp +++ b/lib/MC/MCAsmInfo.cpp @@ -25,7 +25,7 @@ MCAsmInfo::MCAsmInfo() { MaxInstLength = 4; PCSymbol = "$"; SeparatorChar = ';'; - CommentColumn = 60; + CommentColumn = 40; CommentString = "#"; GlobalPrefix = ""; PrivateGlobalPrefix = "."; -- 2.34.1