[llvm] r326253 - [codeview] Remove unused variable
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 13:46:40 PST 2018
Author: rnk
Date: Tue Feb 27 13:46:40 2018
New Revision: 326253
URL: http://llvm.org/viewvc/llvm-project?rev=326253&view=rev
Log:
[codeview] Remove unused variable
Modified:
llvm/trunk/lib/DebugInfo/CodeView/RecordName.cpp
Modified: llvm/trunk/lib/DebugInfo/CodeView/RecordName.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/CodeView/RecordName.cpp?rev=326253&r1=326252&r2=326253&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/CodeView/RecordName.cpp (original)
+++ llvm/trunk/lib/DebugInfo/CodeView/RecordName.cpp Tue Feb 27 13:46:40 2018
@@ -189,7 +189,6 @@ Error TypeNameComputer::visitKnownRecord
Error TypeNameComputer::visitKnownRecord(CVType &CVR, ModifierRecord &Mod) {
uint16_t Mods = static_cast<uint16_t>(Mod.getModifiers());
- SmallString<256> TypeName;
if (Mods & uint16_t(ModifierOptions::Const))
Name.append("const ");
if (Mods & uint16_t(ModifierOptions::Volatile))
More information about the llvm-commits
mailing list