projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
land David Blaikie's patch to de-constify Type, with a few tweaks.
[oota-llvm.git]
/
include
/
llvm-c
/
Core.h
diff --git
a/include/llvm-c/Core.h
b/include/llvm-c/Core.h
index a4456dd13e4b13312b13537fa46542baa70db640..9e20ed6f744afb8d55cfa9a89c4d8b158c9ecb0c 100644
(file)
--- a/
include/llvm-c/Core.h
+++ b/
include/llvm-c/Core.h
@@
-1136,7
+1136,7
@@
namespace llvm {
return reinterpret_cast<Type**>(Tys);
}
- inline LLVMTypeRef *wrap(
const
Type **Tys) {
+ inline LLVMTypeRef *wrap(Type **Tys) {
return reinterpret_cast<LLVMTypeRef*>(const_cast<Type**>(Tys));
}