From 77e8b53fe3ff630d8d1454db94e38bedda14d5ca Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 18 Aug 2008 18:25:59 +0000 Subject: [PATCH] Make TargetInfo::DescriptionString const (avoid compiler warnings) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54928 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/TargetInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0