OSDN Git Service

Constify subtarget info properly so that we dont cast away the const in
authorRoman Divacky <rdivacky@freebsd.org>
Wed, 5 Sep 2012 21:43:57 +0000 (21:43 +0000)
committerRoman Divacky <rdivacky@freebsd.org>
Wed, 5 Sep 2012 21:43:57 +0000 (21:43 +0000)
commit98eb98b0f2e6573f5aee67ce3e75624392d637b7
tree95d5e86b1b4be80756c23980cb54d5508eeec12c
parentb438615abdc826a2fef33895b50dc60e3f39f988
Constify subtarget info properly so that we dont cast away the const in
the SubtargetInfoKV tables. Found by gcc48 -Wcast-qual.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163251 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCSubtargetInfo.h
include/llvm/MC/SubtargetFeature.h
lib/MC/MCSubtargetInfo.cpp
lib/MC/SubtargetFeature.cpp
utils/TableGen/SubtargetEmitter.cpp