[modules][PATCH] Teach the ASTDeclReader to update the exception specs of the deserialized decl's redecl chain.
Vassil Vassilev
vasil.georgiev.vasilev at cern.ch
Thu Nov 6 04:23:28 PST 2014
Hi Richard,
I am attaching the patch we discussed at the dev meeting. Still
haven't found small reproducer...
The issue appears to stem from the fact that module A contains only a
forward declaration of a function and it exception spec cannot be
computed. In module B is the definition with computed exception spec,
which gets deserialized after the one in module A. This patch teaches
the ASTDeclReader to update all the exception specs of the previous
decls to the current one.
Could you review, please?
Many thanks,
Vassil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deserialization_exception_spec.patch
Type: text/x-patch
Size: 1817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141106/8439c6fd/attachment.bin>
More information about the cfe-commits
mailing list