diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-11-18 02:51:33 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-11-18 02:51:33 +0000 |
commit | 1572ba716bad4944a83040adef76c186c4841e95 (patch) | |
tree | badd3e1e6c448a2952a81161cfdb4895ca69f23e /lib/Bitcode | |
parent | 17a88a7e8b8ad2f0766c4099d09cd29229296352 (diff) | |
download | external_llvm-1572ba716bad4944a83040adef76c186c4841e95.zip external_llvm-1572ba716bad4944a83040adef76c186c4841e95.tar.gz external_llvm-1572ba716bad4944a83040adef76c186c4841e95.tar.bz2 |
Fix spacing, forward declare order.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194985 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
-rw-r--r-- | lib/Bitcode/Reader/BitcodeReader.cpp | 2 | ||||
-rw-r--r-- | lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp index e052e6e..2c95c92 100644 --- a/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/lib/Bitcode/Reader/BitcodeReader.cpp @@ -128,7 +128,7 @@ static int GetDecodedCastOpcode(unsigned Val) { case bitc::CAST_PTRTOINT: return Instruction::PtrToInt; case bitc::CAST_INTTOPTR: return Instruction::IntToPtr; case bitc::CAST_BITCAST : return Instruction::BitCast; - case bitc::CAST_ADDRSPACECAST : return Instruction::AddrSpaceCast; + case bitc::CAST_ADDRSPACECAST: return Instruction::AddrSpaceCast; } } static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) { diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp index 02ee917..4cfc6bd 100644 --- a/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -78,7 +78,7 @@ static unsigned GetEncodedCastOpcode(unsigned Opcode) { case Instruction::PtrToInt: return bitc::CAST_PTRTOINT; case Instruction::IntToPtr: return bitc::CAST_INTTOPTR; case Instruction::BitCast : return bitc::CAST_BITCAST; - case Instruction::AddrSpaceCast : return bitc::CAST_ADDRSPACECAST; + case Instruction::AddrSpaceCast: return bitc::CAST_ADDRSPACECAST; } } |