HomePhabricator

[ASTImporter] Make ODR error handling configurable

Description

[ASTImporter] Make ODR error handling configurable

Summary:
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.

Reviewers: martong, a_sidorin, shafik, a.sidorin

Reviewed By: a_sidorin

Subscribers: rnkovacs, dkrupp, Szelethus, jdoerfert, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58897

Patch by Endre Fulop!

Details

Committed
martongApr 1 2019, 7:46 AM
Reviewer
a_sidorin
Differential Revision
D58897: [ASTImporter] Make ODR error handling configurable
Branches
Unknown
Tags
Unknown