[llvm] 37332bc - [Object] Drop unnecessary const qualifier to fix gcc Wignored-qualifiers warning. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 15 06:45:37 PST 2023
Author: Simon Pilgrim
Date: 2023-12-15T14:45:17Z
New Revision: 37332bc09a743b5f760d4cbd675a1f3e9e6b8f09
URL: https://github.com/llvm/llvm-project/commit/37332bc09a743b5f760d4cbd675a1f3e9e6b8f09
DIFF: https://github.com/llvm/llvm-project/commit/37332bc09a743b5f760d4cbd675a1f3e9e6b8f09.diff
LOG: [Object] Drop unnecessary const qualifier to fix gcc Wignored-qualifiers warning. NFC.
Added:
Modified:
llvm/lib/Object/DXContainer.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Object/DXContainer.cpp b/llvm/lib/Object/DXContainer.cpp
index 433739fdc27df6..4aabe9cea3e577 100644
--- a/llvm/lib/Object/DXContainer.cpp
+++ b/llvm/lib/Object/DXContainer.cpp
@@ -301,7 +301,7 @@ Error DirectX::PSVRuntimeInfo::parse(uint16_t ShaderKind) {
// String table starts at a 4-byte offset.
Current = reinterpret_cast<const char *>(
- alignTo<4>(reinterpret_cast<const uintptr_t>(Current)));
+ alignTo<4>(reinterpret_cast<uintptr_t>(Current)));
uint32_t StringTableSize = 0;
if (Error Err = readInteger(Data, Current, StringTableSize))
More information about the llvm-commits
mailing list