diff options
author | Dan Gohman <gohman@apple.com> | 2008-02-08 03:26:46 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-02-08 03:26:46 +0000 |
commit | 547ca537b638c8fd5c8f4729e4c74898f8371e4e (patch) | |
tree | 8535cf893c1e3c468863cbcc6719e97d993dd1b2 /include/llvm/CodeGen/SelectionDAGNodes.h | |
parent | 33663fc104d0cdfc06cac55f677e9bc0bb5f5817 (diff) |
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/llvm/CodeGen/SelectionDAGNodes.h')
-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 9cb58c9329..2c35e3181b 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; |