Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[clang][CodeCoverage] Fix conditional-operator test #82192

Merged
merged 1 commit into from
Feb 18, 2024

Conversation

dtellenbach
Copy link
Member

No description provided.

@llvmbot llvmbot added the clang Clang issues not falling into any other category label Feb 18, 2024
@llvmbot
Copy link
Collaborator

llvmbot commented Feb 18, 2024

@llvm/pr-subscribers-clang

Author: David Tellenbach (dtellenbach)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/82192.diff

1 Files Affected:

  • (modified) clang/test/CoverageMapping/conditional-operator.c (+1-1)
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

@dtellenbach dtellenbach merged commit 7970949 into llvm:main Feb 18, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang Clang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants