From: Daniel Dunbar Date: Mon, 18 Aug 2008 18:25:59 +0000 (+0000) Subject: Make TargetInfo::DescriptionString const (avoid compiler warnings) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77e8b53fe3ff630d8d1454db94e38bedda14d5ca;p=clang Make TargetInfo::DescriptionString const (avoid compiler warnings) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54928 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/TargetInfo.h b/include/clang/Basic/TargetInfo.h index be81aa0b70..bb687d2660 100644 --- a/include/clang/Basic/TargetInfo.h +++ b/include/clang/Basic/TargetInfo.h @@ -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;