aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2018-02-07 00:37:19 +0000
committerErich Keane <erich.keane@intel.com>2018-02-07 00:37:19 +0000
commitb73d2df1e1d3239926de20bd63086e62f60dc6db (patch)
tree2161e4359ff93e3a44690db5a6b3fbfd16310767 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent7a76ada901ca81fa384d147eba1d8bab810da463 (diff)
downloadllvm-b73d2df1e1d3239926de20bd63086e62f60dc6db.zip
llvm-b73d2df1e1d3239926de20bd63086e62f60dc6db.tar.gz
llvm-b73d2df1e1d3239926de20bd63086e62f60dc6db.tar.bz2
[NFC] Change odd cast-through-unknown behavior to an Optional
This bit of code in the driver uses '~0U' as a sentinel value. The result is an odd mishmash of casts just to work. This replaces it with an optional, which is a little less crazy looking. --ehis line, and those below, will be ignored-- M lib/Driver/Driver.cpp llvm-svn: 324433
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions