]> granicus.if.org Git - clang/commitdiff
Make TargetInfo::DescriptionString const (avoid compiler warnings)
authorDaniel Dunbar <daniel@zuster.org>
Mon, 18 Aug 2008 18:25:59 +0000 (18:25 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 18 Aug 2008 18:25:59 +0000 (18:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54928 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/TargetInfo.h

index be81aa0b7028eac19096edf262ef497400f2a526..bb687d26605e211dca1cae4afeab3e36191dd4ea 100644 (file)
@@ -43,7 +43,7 @@ protected:
   unsigned char LongDoubleWidth, LongDoubleAlign;
   unsigned char LongWidth, LongAlign;
   unsigned char LongLongWidth, LongLongAlign;
-  char *DescriptionString;
+  const char *DescriptionString;
   
   const llvm::fltSemantics *FloatFormat, *DoubleFormat, *LongDoubleFormat;