diff options
Diffstat (limited to 'clang/lib/Sema/SemaExceptionSpec.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaExceptionSpec.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaExceptionSpec.cpp b/clang/lib/Sema/SemaExceptionSpec.cpp index 9be411b552a..4ce1ce9b019 100644 --- a/clang/lib/Sema/SemaExceptionSpec.cpp +++ b/clang/lib/Sema/SemaExceptionSpec.cpp @@ -294,12 +294,12 @@ bool Sema::CheckExceptionSpecSubset( continue; // Do this check from a context without privileges. - switch (CheckBaseClassAccess(SourceLocation(), false, + switch (CheckBaseClassAccess(SourceLocation(), CanonicalSuperT, CanonicalSubT, Paths.front(), + /*Diagnostic*/ 0, /*ForceCheck*/ true, - /*ForceUnprivileged*/ true, - ADK_quiet)) { + /*ForceUnprivileged*/ true)) { case AR_accessible: break; case AR_inaccessible: continue; case AR_dependent: |

