Fix a typo with this test function name
authorAaron Ballman <aaron@aaronballman.com>
Wed, 13 Apr 2022 18:42:52 +0000 (14:42 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 13 Apr 2022 18:44:27 +0000 (14:44 -0400)
The call and the function name don't line up correctly, so this was
accidentally using an implicit function declaration when it didn't
intend to.

clang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-implicits.c

index b7d92ce..e73b439 100644 (file)
@@ -73,5 +73,5 @@ void numericConversion8(double D, enum UnscopedFixed UF) { numericConversion8(UF
 // CHECK-MESSAGES: :[[@LINE-3]]:54: note: the last parameter in the range is 'UF'
 // CHECK-MESSAGES: :[[@LINE-4]]:35: note: 'double' and 'enum UnscopedFixed' may be implicitly converted{{$}}
 
-void pointeeConverison(int *IP, double *DP) { pointeeConversion(DP, IP); }
+void pointeeConversion(int *IP, double *DP) { pointeeConversion(DP, IP); }
 // NO-WARN: Even though this is possible in C, a swap is diagnosed by the compiler.