Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
refs/heads/fp2-m-sibon
/
test
/
PCH
/
chain-implicit-definition.cpp
eebafe5
Use -emit-llvm-only as suggested by Argyrios.
by Sebastian Redl
· 13 years ago
58a2cd8
Synthesizing the definition of an implicit member is an AST modification, so notify any mutation listeners of it. This fixes a crasher in chained PCH, where an implicit destructor in a PCH gets a definition in a chained PCH, which is then lost. However, any further use of the destructor would cause its definition to be regenerated in the final file, hiding the bug.
by Sebastian Redl
· 13 years ago