diff options
author | Miloš Stojanović <Milos.Stojanovic@rt-rk.com> | 2020-02-06 17:08:05 +0100 |
---|---|---|
committer | Miloš Stojanović <Milos.Stojanovic@rt-rk.com> | 2020-02-07 14:34:57 +0100 |
commit | 446268a223452254e054714f252705858fc47563 (patch) | |
tree | 3e2e86c69f86f01965b488117607373e30b62842 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2de2275cbdb8d123920f454f34ed4cfb4e1d2dcc (diff) | |
download | llvm-446268a223452254e054714f252705858fc47563.zip llvm-446268a223452254e054714f252705858fc47563.tar.gz llvm-446268a223452254e054714f252705858fc47563.tar.bz2 |
[llvm-exegesis] Add a custom error for clustering
All errors of type `Failure` are `StringError`s. In order for exit code
mapping to detect that specifically a clustering error has occurred it
needs to have a different type.
This patch also prepares D74085 where termination `report_fatal_error()`
will be replaced with emitting `StringError`s.
Differential Revision: https://reviews.llvm.org/D74124
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions