mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:29:58 +00:00
[Support] Drop template line in favor of 'inline'
Reviewed-by: lhames llvm-svn: 268438
This commit is contained in:
parent
06b0388bac
commit
ac77c9661e
@ -526,9 +526,8 @@ inline void handleAllErrors(Error E) {
|
||||
/// This is useful in the base level of your program to allow clean termination
|
||||
/// (allowing clean deallocation of resources, etc.), while reporting error
|
||||
/// information to the user.
|
||||
template <typename... HandlerTs>
|
||||
void logAllUnhandledErrors(Error E, raw_ostream &OS,
|
||||
const std::string &ErrorBanner) {
|
||||
inline void logAllUnhandledErrors(Error E, raw_ostream &OS,
|
||||
const std::string &ErrorBanner) {
|
||||
if (!E)
|
||||
return;
|
||||
OS << ErrorBanner;
|
||||
|
Loading…
Reference in New Issue
Block a user