ODR errors are not necessarily true errors during the import of ASTs.
ASTMerge and CrossTU should use the warning equivalent of every CTU error,
while Sema should emit errors as before.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
This revision is the alternative of the abandoned D55646.
Now Sema uses the old behavior of emitting ODR errors while merging and importing is done in a more lenient way.
Comment Actions
Hi Gabor,
This patch LGTM mostly, but there is a comment inline.
include/clang/AST/ASTStructuralEquivalence.h | ||
---|---|---|
81 | I see the argument order change but I don't see any callers changed. Do we really need this order change? |
Comment Actions
- Revert member order to original
include/clang/AST/ASTStructuralEquivalence.h | ||
---|---|---|
81 | Strictly speaking, there is no need for this change, the constructor param order does not match the initialization, but that is just a nit. I have updated the diff. Cheers :) |
I see the argument order change but I don't see any callers changed. Do we really need this order change?