[llvm-commits] [llvm] r76761 - /llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.cpp
Bill Wendling
isanbard at gmail.com
Wed Jul 22 11:06:15 PDT 2009
On Wed, Jul 22, 2009 at 10:58 AM, Sanjiv
Gupta<sanjiv.gupta at microchip.com> wrote:
> Author: sgupta
> Date: Wed Jul 22 12:58:47 2009
> New Revision: 76761
>
> URL: http://llvm.org/viewvc/llvm-project?rev=76761&view=rev
> Log:
> Fixed build warning. No functionality change.
>
> Modified:
> llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.cpp
>
> Modified: llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.cpp?rev=76761&r1=76760&r2=76761&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.cpp (original)
> +++ llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.cpp Wed Jul 22 12:58:47 2009
> @@ -265,7 +265,7 @@
> EnumerateOperandType(Elem);
> }
> }
> - } else if (const MDString *MDS = dyn_cast<MDString>(V))
> + } else if (dyn_cast<MDString>(V))
Perhaps using "isa<>" instead of "dyn_cast<>" is appropriate here?
-bw
More information about the llvm-commits
mailing list