1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| #include "catch_tag_alias_autoregistrar.h"
| #include "catch_compiler_capabilities.h"
| #include "catch_interfaces_registry_hub.h"
|
| namespace Catch {
|
| RegistrarForTagAliases::RegistrarForTagAliases(char const* alias, char const* tag, SourceLineInfo const& lineInfo) {
| CATCH_TRY {
| getMutableRegistryHub().registerTagAlias(alias, tag, lineInfo);
| } CATCH_CATCH_ALL {
| // Do not throw when constructing global objects, instead register the exception to be processed later
| getMutableRegistryHub().registerStartupException();
| }
| }
|
| }
|
|