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

Mimic GCC/Clang simplification behaviour when type checking ?: #7959

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

__builtin_constant_p: properly test, fix behaviour

2d5adef
Select commit
Loading
Failed to load commit list.
Open

Mimic GCC/Clang simplification behaviour when type checking ?: #7959

__builtin_constant_p: properly test, fix behaviour
2d5adef
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Codecov / codecov/patch failed Dec 14, 2023 in 1s

52.43% of diff hit (target 79.08%)

View this Pull Request on Codecov

52.43% of diff hit (target 79.08%)

Annotations

Check warning on line 61 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L61

Added line #L61 was not covered by tests

Check warning on line 117 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L117

Added line #L117 was not covered by tests

Check warning on line 119 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L119

Added line #L119 was not covered by tests

Check warning on line 122 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L121-L122

Added lines #L121 - L122 were not covered by tests

Check warning on line 124 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L124

Added line #L124 was not covered by tests

Check warning on line 126 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L126

Added line #L126 was not covered by tests

Check warning on line 128 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L128

Added line #L128 was not covered by tests

Check warning on line 130 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L130

Added line #L130 was not covered by tests

Check warning on line 132 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L132

Added line #L132 was not covered by tests

Check warning on line 135 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L134-L135

Added lines #L134 - L135 were not covered by tests

Check warning on line 147 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L146-L147

Added lines #L146 - L147 were not covered by tests

Check warning on line 153 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L153

Added line #L153 was not covered by tests

Check warning on line 156 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L156

Added line #L156 was not covered by tests

Check warning on line 159 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L158-L159

Added lines #L158 - L159 were not covered by tests

Check warning on line 164 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L161-L164

Added lines #L161 - L164 were not covered by tests

Check warning on line 166 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L166

Added line #L166 was not covered by tests

Check warning on line 168 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L168

Added line #L168 was not covered by tests

Check warning on line 170 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L170

Added line #L170 was not covered by tests

Check warning on line 175 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L172-L175

Added lines #L172 - L175 were not covered by tests

Check warning on line 177 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L177

Added line #L177 was not covered by tests

Check warning on line 180 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L180

Added line #L180 was not covered by tests

Check warning on line 182 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L182

Added line #L182 was not covered by tests

Check warning on line 185 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L185

Added line #L185 was not covered by tests

Check warning on line 3750 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L3750

Added line #L3750 was not covered by tests

Check warning on line 3763 in src/ansi-c/c_typecheck_expr.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ansi-c/c_typecheck_expr.cpp#L3762-L3763

Added lines #L3762 - L3763 were not covered by tests