mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
Try to please clang with convoluted templates
This commit is contained in:
parent
3cd1c3b988
commit
8bd8583bc7
2 changed files with 5 additions and 7 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue