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
Consider:
template struct S { void g(void ()(T)); }; template<> void S::g(void()(int)) {}
When compiled into a PCH with:
clang -cc1 t.hpp -emit-pch -o t.hpp.pch
I get:
clang: PCHWriterDecl.cpp:557: void clang::PCHDeclWriter::VisitParmVarDecl(clang::ParmVarDecl*): Assertion `!D->isStaticDataMember() && "PARM_VAR_DECL can't be static data member"' failed.
I'm using clang trunk 108560.
The text was updated successfully, but these errors were encountered:
I think the cause here is r108266.
Sorry, something went wrong.
Fixed at r108692.
No branches or pull requests
Extended Description
Consider:
template struct S { void g(void ()(T)); };
template<> void S::g(void()(int)) {}
When compiled into a PCH with:
clang -cc1 t.hpp -emit-pch -o t.hpp.pch
I get:
clang: PCHWriterDecl.cpp:557: void clang::PCHDeclWriter::VisitParmVarDecl(clang::ParmVarDecl*): Assertion `!D->isStaticDataMember() && "PARM_VAR_DECL can't be static data member"' failed.
I'm using clang trunk 108560.
The text was updated successfully, but these errors were encountered: