diff options
Diffstat (limited to 'clang/lib/Sema')
| -rw-r--r-- | clang/lib/Sema/SemaType.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/clang/lib/Sema/SemaType.cpp b/clang/lib/Sema/SemaType.cpp index 0736fabac3d..ac04cecaf77 100644 --- a/clang/lib/Sema/SemaType.cpp +++ b/clang/lib/Sema/SemaType.cpp @@ -7498,7 +7498,7 @@ bool Sema::hasStructuralCompatLayout(Decl *D, Decl *Suggested) {        StructuralEquivalenceKind::Default,        false /*StrictTypeSpelling*/, true /*Complain*/,        true /*ErrorOnTagTypeMismatch*/); -  return Ctx.IsStructurallyEquivalent(D, Suggested); +  return Ctx.IsEquivalent(D, Suggested);  }  /// Determine whether there is any declaration of \p D that was ever a | 

