summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-01-22 20:26:34 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-01-22 20:26:34 +0000
commitc98d969e9f8d6258b521f3025a90101245e4429b (patch)
tree09be19c14dbf53d9898a4746e182e819881174c9 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent79e6749da3d85705b4be27c3f6519dc86fc56ece (diff)
downloadbcm5719-llvm-c98d969e9f8d6258b521f3025a90101245e4429b.tar.gz
bcm5719-llvm-c98d969e9f8d6258b521f3025a90101245e4429b.zip
Commands: silence dumb -Wextra warning from GCC
This is a rather unhelpful warning indicating that the ternary operator return types are mismatched, returning an integer and an enumeral type. Since the integeral type is shorter to type, cast the enumeral type to `int`. Silences the -Wextra warning from GCC. llvm-svn: 258548
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud