aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-03-13 04:25:41 +0000
committerRui Ueyama <ruiu@google.com>2016-03-13 04:25:41 +0000
commit6eafa7fb23a623c959a568dcfa3293fcd53ea7c6 (patch)
tree0d627ef061c6802ef8b696b4847e079f36fe41cd /clang/lib/CodeGen/ModuleBuilder.cpp
parentb30f73568f490c4b49b5534b3d5cfbd6f1ca05ea (diff)
downloadllvm-6eafa7fb23a623c959a568dcfa3293fcd53ea7c6.zip
llvm-6eafa7fb23a623c959a568dcfa3293fcd53ea7c6.tar.gz
llvm-6eafa7fb23a623c959a568dcfa3293fcd53ea7c6.tar.bz2
Do not return a bool value from error().
error returned true if there was an error. This allows us to replace the code like this if (EC) { error(EC, "something failed"); return; } with if (error(EC, "something failed")) return; I thought that that was a good idea, but it turned out that we only have two places to use this pattern. So this patch removes that feature. llvm-svn: 263362
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions