diff options
| author | Tamir Duberstein <tamird@gmail.com> | 2015-05-30 09:50:12 -0400 |
|---|---|---|
| committer | Tamir Duberstein <tamird@gmail.com> | 2015-06-07 22:43:21 -0400 |
| commit | 1be9e6f055fbcd6bfcf0a1f9e9ef0e86abe54f02 (patch) | |
| tree | c4045c6b104a6465fdc501e37a63ef4b44a75447 /src/rustllvm/RustWrapper.cpp | |
| parent | 8f9f2fe97e78bd7dbdfc477b765d5e6dc930b9eb (diff) | |
| download | rust-1be9e6f055fbcd6bfcf0a1f9e9ef0e86abe54f02.tar.gz rust-1be9e6f055fbcd6bfcf0a1f9e9ef0e86abe54f02.zip | |
Remove useless `const`
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
| -rw-r--r-- | src/rustllvm/RustWrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp index 66db7326d21..b1e2d2f9fc8 100644 --- a/src/rustllvm/RustWrapper.cpp +++ b/src/rustllvm/RustWrapper.cpp @@ -233,7 +233,7 @@ DIT unwrapDI(LLVMMetadataRef ref) { return DIT(ref ? unwrap<MDNode>(ref) : NULL); } -extern "C" const uint32_t LLVMRustDebugMetadataVersion() { +extern "C" uint32_t LLVMRustDebugMetadataVersion() { return DEBUG_METADATA_VERSION; } |
