We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Title: Infinite recursion in block parameter named after initializing capture.
Minimal reproducer (https://cpp2.godbolt.org/z/cKjndzxYn):
main: () = { test_overloads := 0; _ = :() = { (test_overloads := test_overloads$) { } }; }
cppfront main.cpp2 clang++-18 -std=c++26 -stdlib=libc++ -lc++abi -pedantic-errors -Wall -Wextra -Wconversion -Werror=unused-result -Werror=unused-value -Werror=unused-parameter -Werror=unused-variable -I . main.cpp
Expected result: A working program (-Werror=unused-variable notwithstanding).
-Werror=unused-variable
Actual result and error:
Killed - processing time exceeded Program terminated with signal: SIGKILL Compiler returned: 143
See also:
The text was updated successfully, but these errors were encountered:
I object to this being well-formed for the same reason as #1312. It should however be an error and not an infinite loop. :D
Sorry, something went wrong.
No branches or pull requests
Title: Infinite recursion in block parameter named after initializing capture.
Minimal reproducer (https://cpp2.godbolt.org/z/cKjndzxYn):
Commands:
cppfront main.cpp2 clang++-18 -std=c++26 -stdlib=libc++ -lc++abi -pedantic-errors -Wall -Wextra -Wconversion -Werror=unused-result -Werror=unused-value -Werror=unused-parameter -Werror=unused-variable -I . main.cpp
Expected result: A working program (
-Werror=unused-variable
notwithstanding).Actual result and error:
Output:See also:
The text was updated successfully, but these errors were encountered: