llvm-project/clang/lib/Tooling/Core
Stephen Hines 14ccaedbb8 Switch to consumeError(), since this can crash otherwise.
Summary:
If assertions are disabled, but LLVM_ABI_BREAKING_CHANGES is enabled,
this will cause an issue with an unchecked Success. Switching to
consumeError() is the correct way to bypass the check.

Reviewers: llvm-commits, cfe-commits, arphaman

Reviewed By: arphaman

Subscribers: arphaman, klimek, pirama

Differential Revision: https://reviews.llvm.org/D36728

llvm-svn: 310958
2017-08-15 21:20:41 +00:00
..
CMakeLists.txt [clang-tidy] Add check name to YAML export 2017-01-03 14:35:47 +00:00
Diagnostic.cpp Add const to reference arguments of Diagnostic ctor 2017-07-05 11:45:09 +00:00
Lookup.cpp Do not do raw name replacement when FromDecl is a class forward-declaration. 2016-11-25 16:02:49 +00:00
QualTypeNames.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
Replacement.cpp Switch to consumeError(), since this can crash otherwise. 2017-08-15 21:20:41 +00:00