forked from OSchip/llvm-project
[Support] Drop template line in favor of 'inline'
Reviewed-by: lhames llvm-svn: 268438
This commit is contained in:
parent
d2ecbccf27
commit
845018d24a
|
@ -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