Skip to content

Commit 3e5d003

Browse files
committed
[Test] Underscored lexical_destroy_folding.
Use underscores rather than hyphens so that text editors understand the name as a single word.
1 parent a75bd89 commit 3e5d003

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/SILOptimizer/Utils/LexicalDestroyFolding.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ namespace swift::test {
812812
// Dumps:
813813
// - the function
814814
static FunctionTest LexicalDestroyFoldingTest(
815-
"lexical-destroy-folding", [](auto &function, auto &arguments, auto &test) {
815+
"lexical_destroy_folding", [](auto &function, auto &arguments, auto &test) {
816816
auto *dominanceAnalysis = test.template getAnalysis<DominanceAnalysis>();
817817
DominanceInfo *domTree = dominanceAnalysis->get(&function);
818818
auto value = arguments.takeValue();

test/SILOptimizer/lexical_destroy_folding_unit.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ sil [ossa] @callee_owned : $@convention(thin) (@owned C) -> ()
2424
// CHECK-LABEL: } // end sil function 'nofold_two_parallel_owned_uses_one_lexical___scope_ends_before_use'
2525
sil [ossa] @nofold_two_parallel_owned_uses_one_lexical___scope_ends_before_use : $@convention(thin) (@owned C) -> () {
2626
entry(%instance : @owned $C):
27-
specify_test "lexical-destroy-folding @trace[0]"
27+
specify_test "lexical_destroy_folding @trace[0]"
2828
%copy_2 = copy_value %instance : $C
2929
%lifetime = begin_borrow [lexical] %instance : $C
3030
debug_value [trace] %lifetime : $C

0 commit comments

Comments
 (0)