aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-06-06 19:00:54 +0000
committerMatthias Braun <matze@braunis.de>2017-06-06 19:00:54 +0000
commit49220fb6a132a17278337f770c0de91d37d889d4 (patch)
treef622942560ee15c2091469d74d97e15be8895541 /llvm/lib/Support/CommandLine.cpp
parentdd7c68bc7867adabc34bfe07c1a85c4cb955e088 (diff)
downloadllvm-49220fb6a132a17278337f770c0de91d37d889d4.zip
llvm-49220fb6a132a17278337f770c0de91d37d889d4.tar.gz
llvm-49220fb6a132a17278337f770c0de91d37d889d4.tar.bz2
UnitTests: Do not use assert() for error checking
Use `if (!X) report_fatal_error()` instead of `assert()` for the ad-hoc error handling in two unittests. This reduces unnecessary differences between release and debug builds (motivated by unused variable warnings triggered in release builds). llvm-svn: 304814
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions