[ASTImporter] Fix inequivalence of unresolved exception spec
authorGabor Marton <martongabesz@gmail.com>
Wed, 8 May 2019 15:23:48 +0000 (15:23 +0000)
committerGabor Marton <martongabesz@gmail.com>
Wed, 8 May 2019 15:23:48 +0000 (15:23 +0000)
commitce6b78128f7fde3b26b6cf66adc6c982cde90bb8
tree107c1ba03e030f37d00e06c5ac36ad570db8db72
parent9fd02a71a39b8e923e3a2ede6b9640871d503e2b
[ASTImporter] Fix inequivalence of unresolved exception spec

Summary:
Structural equivalence of methods can falsely report false when the
exception specifier is unresolved (i.e unevaluated or not instantiated).

(This caused one assertion during bitcoin ctu-analysis.)

Reviewers: a_sidorin, shafik, a.sidorin

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

Tags: #clang

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

llvm-svn: 360261
clang/lib/AST/ASTImporter.cpp
clang/lib/AST/ASTStructuralEquivalence.cpp