Author: Aaron Ballman
Date: 2022-04-13T14:44:27-04:00
New Revision: a3b73b60be4467d2194d3c95e7b943f1644cf92b

URL: 
https://github.com/llvm/llvm-project/commit/a3b73b60be4467d2194d3c95e7b943f1644cf92b
DIFF: 
https://github.com/llvm/llvm-project/commit/a3b73b60be4467d2194d3c95e7b943f1644cf92b.diff

LOG: Fix a typo with this test function name

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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git 
a/clang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-implicits.c
 
b/clang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-implicits.c
index b7d92ce43f64b..e73b439ba43bf 100644
--- 
a/clang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-implicits.c
+++ 
b/clang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-implicits.c
@@ -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.


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to