Try to please clang with convoluted templates
This commit is contained in:
@@ -465,12 +465,6 @@ ErrorBuilder<ErrorType> & ErrorBuilder<ErrorType>::withFrame(const Env & env, co
|
||||
return *this;
|
||||
}
|
||||
|
||||
template<class ErrorType>
|
||||
void ErrorBuilder<ErrorType>::debugThrow() {
|
||||
// NOTE: We always use the -LastTrace version as we push the new trace in withFrame()
|
||||
state.debugThrowLastTrace(ErrorType(info));
|
||||
}
|
||||
|
||||
|
||||
EvalState::EvalState(
|
||||
const Strings & _searchPath,
|
||||
|
||||
+5
-1
@@ -124,7 +124,11 @@ class ErrorBuilder
|
||||
ErrorBuilder<ErrorType> & withFrame(const Env & e, const Expr & ex);
|
||||
|
||||
[[gnu::noinline, gnu::noreturn]]
|
||||
void debugThrow();
|
||||
void ErrorBuilder<ErrorType>::debugThrow() {
|
||||
// NOTE: We always use the -LastTrace version as we push the new trace in withFrame()
|
||||
state.debugThrowLastTrace(ErrorType(info));
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user