]> granicus.if.org Git - clang/commit
[ASTImporter] Convert ODR diagnostics inside ASTImporter implementation
authorGabor Marton <martongabesz@gmail.com>
Mon, 1 Apr 2019 15:29:55 +0000 (15:29 +0000)
committerGabor Marton <martongabesz@gmail.com>
Mon, 1 Apr 2019 15:29:55 +0000 (15:29 +0000)
commitf584ff0725677cfe6e12a6bce31484c7d4234a44
tree931be4506a223070ae8f7ffc491d6672003f80b0
parent20e5220f748b7df5df639d53eb5934165c544b2c
[ASTImporter] Convert ODR diagnostics inside ASTImporter implementation

Summary:
ASTStructuralEquivalence uses a flag to indicate whether ODR diagnostics
should be considered errors or warnings as module Sema is more strict than
ASTMerge. The implementation of ASTImporter should allso follow
along the same lines.

Reviewers: martong, a.sidorin, shafik, a_sidorin

Reviewed By: shafik, a_sidorin

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

Tags: #clang

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

Patch by Endre Fulop!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@357402 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTImporter.cpp