aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-08-18 18:25:59 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-08-18 18:25:59 +0000
commit77e8b53fe3ff630d8d1454db94e38bedda14d5ca (patch)
treec84aa5c88b9dbe9e190e31df77fb4826f43f3653
parent67dee09143e545b7094f3edb8fa65d5ee654d7be (diff)
Make TargetInfo::DescriptionString const (avoid compiler warnings)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54928 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Basic/TargetInfo.h2
1 files changed, 1 insertions, 1 deletions
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;