[cfe-commits] Mark virtual members used in a deterministic order
Enea Zaffanella
zaffanella at cs.unipr.it
Fri Sep 7 02:00:56 PDT 2012
On 08/31/2012 04:47 AM, Rafael EspĂndola wrote:
> A new version matching the API changes on the llvm patch is attached.
>
> Cheers,
> Rafael
Hello Rafael.
Since we were observing a nondeterministic order in the invocation of
callback ASTConsumer::HandleCXXImplicitFunctionInstantiation, we started
searching the mailing list and bumped into this thread.
We downloaded and applied the two patches for clang and llvm: unless we
did something wrong (e.g., out-of-date patches?), it seems that the
nondeterministic behavior we were observing is still there.
We managed to produce a testcase on which clang (no matter if patched or
not) generates multiple diagnostics in nondeterministic order.
The test is attached. Running it some 4/5 times should be enough to see
the differences in the ordering of diagnostics.
Can you have a try on it?
Is this due to another, unrelated source of nondeterminism?
Enea.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nondet-diag.cc
Type: text/x-c++src
Size: 330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120907/c3438a29/attachment.cc>
More information about the cfe-commits
mailing list