We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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: Function returning unnamed declaration needs extra semicolon.
Description:
This is the case when the function followed by Cpp1 code or EOF.
Minimal reproducer (https://cpp2.godbolt.org/z/cP1Gzrzad):
main: () = _ = :i32 = 0;
cppfront main.cpp2 clang++17 -std=c++23 -stdlib=libc++ -lc++abi -pedantic-errors -Wall -Wextra -Wconversion -Werror=unused-result -I . main.cpp
Expected result: A well-formed program.
Actual result and error: main.cpp2: error: unexpected end of source file.
main.cpp2: error: unexpected end of source file
The text was updated successfully, but these errors were encountered:
Doesn't reproduce anymore.
Sorry, something went wrong.
I suspect this was fixed by 785c44d
No branches or pull requests
Title: Function returning unnamed declaration needs extra semicolon.
Description:
This is the case when the function followed by Cpp1 code or EOF.
Minimal reproducer (https://cpp2.godbolt.org/z/cP1Gzrzad):
Commands:
cppfront main.cpp2 clang++17 -std=c++23 -stdlib=libc++ -lc++abi -pedantic-errors -Wall -Wextra -Wconversion -Werror=unused-result -I . main.cpp
Expected result: A well-formed program.
Actual result and error:
main.cpp2: error: unexpected end of source file
.The text was updated successfully, but these errors were encountered: