// File: dadocolussi[P]gdc-circular_queue/tests/catch.hpp
// Function: Catch::applyFilenamesAsTags(Catch::IConfig const&)
void applyFilenamesAsTags( IConfig const& config ) {
        std::vector<TestCase> const& tests = getAllTestCasesSorted( config );
        for(std::size_t i = 0; i < tests.size(); ++i ) {
            TestCase& test = const_cast<TestCase&>( tests[i] );
            std::set<std::string> tags = test.tags;

            std::string filename = test.lineInfo.file;
            std::string::size_type lastSlash = filename.find_last_of( "\\/" );
            if( lastSlash != std::string::npos )
                filename = filename.substr( lastSlash+1 );

            std::string::size_type lastDot = filename.find_last_of( "." );
            if( lastDot != std::string::npos )
                filename = filename.substr( 0, lastDot );

            tags.insert( "#" + filename );
            setTags( test, tags );
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x10380
movq %rax, -0x10(%rbp)
movq $0x0, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1a0a0
movq %rax, %rcx
movq -0x108(%rbp), %rax
cmpq %rcx, %rax
jae 0x1064b
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x1a0d0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rsi
addq $0x60, %rsi
leaq -0x50(%rbp), %rdi
callq 0x1a0f0
movq -0x20(%rbp), %rsi
addq $0xe0, %rsi
leaq -0x70(%rbp), %rdi
callq 0xe280
jmp 0x104a3
leaq -0x70(%rbp), %rdi
leaq 0x6d49d(%rip), %rsi     # 0x7d94b
movq $-0x1, %rdx
callq 0xe640
movq %rax, -0x88(%rbp)
cmpq $-0x1, -0x88(%rbp)
je 0x1052e
movq -0x88(%rbp), %rdx
incq %rdx
leaq -0xa8(%rbp), %rdi
leaq -0x70(%rbp), %rsi
movq $-0x1, %rcx
callq 0xe6d0
jmp 0x104ee
leaq -0x70(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
callq 0xe800
leaq -0xa8(%rbp), %rdi
callq 0xecd8
jmp 0x1052e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x10640
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x10637
leaq -0x70(%rbp), %rdi
leaq 0x6e7e7(%rip), %rsi     # 0x7ed20
movq $-0x1, %rdx
callq 0xe640
movq %rax, -0xb0(%rbp)
cmpq $-0x1, -0xb0(%rbp)
je 0x1058f
movq -0xb0(%rbp), %rcx
xorl %eax, %eax
movl %eax, %edx
leaq -0xd0(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0xe6d0
jmp 0x10573
leaq -0x70(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0xe800
leaq -0xd0(%rbp), %rdi
callq 0xecd8
leaq 0x6dace(%rip), %rsi     # 0x7e064
leaq -0xf0(%rbp), %rdi
leaq -0x70(%rbp), %rdx
callq 0x1a170
jmp 0x105a8
leaq -0x50(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x1a120
movb %dl, -0x111(%rbp)
movq %rax, -0x110(%rbp)
jmp 0x105c7
movb -0x111(%rbp), %al
movq -0x110(%rbp), %rcx
movq %rcx, -0x100(%rbp)
movb %al, -0xf8(%rbp)
leaq -0xf0(%rbp), %rdi
callq 0xecd8
movq -0x20(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x10660
jmp 0x105fc
leaq -0x70(%rbp), %rdi
callq 0xecd8
leaq -0x50(%rbp), %rdi
callq 0x1a280
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
jmp 0x10444
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0xf0(%rbp), %rdi
callq 0xecd8
leaq -0x70(%rbp), %rdi
callq 0xecd8
leaq -0x50(%rbp), %rdi
callq 0x1a280
jmp 0x10654
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
movq -0x78(%rbp), %rdi
callq 0xeb60
nopl (%rax)