[PATCH] D124287: [modules][ODRHash] Compare ODR hashes to detect mismatches in duplicate ObjCInterfaceDecl.
Volodymyr Sapsai via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 22 11:48:40 PDT 2022
vsapsai added a comment.
As a proof of concept how ODR hash comparison can be used during deserialization, please see D124289 <https://reviews.llvm.org/D124289>. My point is to highlight the amount of reuse we gain from using ODR hash (I particularly enjoy the test case reuse). I agree the error messages aren't particularly useful yet and it will take some work to make code in `ASTReader::diagnoseOdrViolations` usable from parser. But I believe that should be doable.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits