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
$ echo 'template void f() { i can put anything here }' | clang++ -cc1 -x c++ -fdelayed-template-parsing -emit-pch -o tmp.pch $ echo 'template void g() { f(); } int n = (g(), 0);' | ./clang++ -cc1 -x c++ -fdelayed-template-parsing -include-pch tmp.pch -emit-llvm -o - | grep _Z1fIiEvv call void @_Z1fIiEvv() declare void @_Z1fIiEvv()
Oops. It looks like the tokens for 'f' are neither parsed nor saved in the PCH file, resulting in us silently losing 'f's definition.
The text was updated successfully, but these errors were encountered:
This is also rdar://problem/13342361
Sorry, something went wrong.
Resetting to default assignee
Fixed (slightly inefficiently) in r187916.
No branches or pull requests
Extended Description
$ echo 'template void f() { i can put anything here }' | clang++ -cc1 -x c++ -fdelayed-template-parsing -emit-pch -o tmp.pch
$ echo 'template void g() { f(); } int n = (g(), 0);' | ./clang++ -cc1 -x c++ -fdelayed-template-parsing -include-pch tmp.pch -emit-llvm -o - | grep _Z1fIiEvv
call void @_Z1fIiEvv()
declare void @_Z1fIiEvv()
Oops. It looks like the tokens for 'f' are neither parsed nor saved in the PCH file, resulting in us silently losing 'f's definition.
The text was updated successfully, but these errors were encountered: