diff options
author | Dan Gohman <djg@cray.com> | 2008-02-08 03:26:46 +0000 |
---|---|---|
committer | Dan Gohman <djg@cray.com> | 2008-02-08 03:26:46 +0000 |
commit | 8cdf7897416cf307bcae281ef8a0f80873d31356 (patch) | |
tree | 8535cf893c1e3c468863cbcc6719e97d993dd1b2 /include | |
parent | 63529860de98e3875737ce1b33af0f450d2c2c2f (diff) | |
download | external_llvm-8cdf7897416cf307bcae281ef8a0f80873d31356.zip external_llvm-8cdf7897416cf307bcae281ef8a0f80873d31356.tar.gz external_llvm-8cdf7897416cf307bcae281ef8a0f80873d31356.tar.bz2 |
Avoid needlessly casting away const qualifiers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46876 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGNodes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 9cb58c9..2c35e31 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -1001,7 +1001,7 @@ protected: /// getValueTypeList - Return a pointer to the specified value type. /// - static MVT::ValueType *getValueTypeList(MVT::ValueType VT); + static const MVT::ValueType *getValueTypeList(MVT::ValueType VT); static SDVTList getSDVTList(MVT::ValueType VT) { SDVTList Ret = { getValueTypeList(VT), 1 }; return Ret; |