[cfe-commits] r54928 - /cfe/trunk/include/clang/Basic/TargetInfo.h

Daniel Dunbar daniel at zuster.org
Mon Aug 18 11:25:59 PDT 2008


Author: ddunbar
Date: Mon Aug 18 13:25:59 2008
New Revision: 54928

URL: http://llvm.org/viewvc/llvm-project?rev=54928&view=rev
Log:
Make TargetInfo::DescriptionString const (avoid compiler warnings)

Modified:
    cfe/trunk/include/clang/Basic/TargetInfo.h

Modified: cfe/trunk/include/clang/Basic/TargetInfo.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/TargetInfo.h?rev=54928&r1=54927&r2=54928&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/TargetInfo.h (original)
+++ cfe/trunk/include/clang/Basic/TargetInfo.h Mon Aug 18 13:25:59 2008
@@ -43,7 +43,7 @@
   unsigned char LongDoubleWidth, LongDoubleAlign;
   unsigned char LongWidth, LongAlign;
   unsigned char LongLongWidth, LongLongAlign;
-  char *DescriptionString;
+  const char *DescriptionString;
   
   const llvm::fltSemantics *FloatFormat, *DoubleFormat, *LongDoubleFormat;
 





More information about the cfe-commits mailing list