Skip to content

Commit a15ce10

Browse files
committed
Fix typo in test
1 parent a97f15d commit a15ce10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Analysis/thread-safety-handle-parenthesis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ struct Baz {
1010
int protected_num_ __attribute__((guarded_by(lock_))) = 1;
1111
};
1212

13-
void baz_paran_test() {
13+
void paren_test() {
1414
Baz baz;
1515
int& n = baz.protected_num_;
1616
sink_protected(n); // expected-warning{{reading variable 'protected_num_' requires holding mutex 'baz.lock_'}}

0 commit comments

Comments
 (0)