[clang] 7970949 - [clang][CodeCoverage] Fix conditional-operator test (#82192)

via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 18 15:11:11 PST 2024


Author: David Tellenbach
Date: 2024-02-18T15:11:08-08:00
New Revision: 79709498eaa57095a9888b882e94f6d15a244d4b

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

LOG: [clang][CodeCoverage] Fix conditional-operator test (#82192)

Added: 
    

Modified: 
    clang/test/CoverageMapping/conditional-operator.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CoverageMapping/conditional-operator.c b/clang/test/CoverageMapping/conditional-operator.c
index 06b89c6b5a697e..956eb3d2aedac4 100644
--- a/clang/test/CoverageMapping/conditional-operator.c
+++ b/clang/test/CoverageMapping/conditional-operator.c
@@ -12,7 +12,7 @@ int binary_conditional(int x) {
 }
 
 // CHECK-LABEL:       ternary_conditional:
-// CHECK-NEXT:          File 0, [[@LINE+6]]:31 -> {{[0-9]+}}:2 = #0
+// CHECK-NEXT:          File 0, [[@LINE+6]]:32 -> {{[0-9]+}}:2 = #0
 // CHECK-NEXT:          File 0, [[@LINE+6]]:7 -> [[@LINE+6]]:8 = #0
 // CHECK-NEXT:          Branch,File 0, [[@LINE+5]]:7 -> [[@LINE+5]]:8 = #1, (#0 - #1)
 // CHECK-NEXT:          Gap,File 0, [[@LINE+4]]:10 -> [[@LINE+4]]:11 = #1


        


More information about the cfe-commits mailing list