HomePhabricator

[ASTImporter] Make ODR error handling configurable

Authored by martong on Apr 1 2019, 7:46 AM.

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!

llvm-svn: 357394

Details

Committed
martongApr 1 2019, 7:46 AM
Reviewer
a_sidorin
Differential Revision
D58897: [ASTImporter] Make ODR error handling configurable
Parents
rGda20f5ca7452: [RISCV] Generate address sequences suitable for mcmodel=medium
Branches
Unknown
Tags
Unknown