aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaExceptionSpec.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-03-16 05:22:47 +0000
committerJohn McCall <rjmccall@apple.com>2010-03-16 05:22:47 +0000
commit58e6f34e4d2c668562e1c391162ee9de7b05fbb2 (patch)
treedcba0bf9178f1decf1c99b1ee115f0e9534d23d8 /lib/Sema/SemaExceptionSpec.cpp
parent50f6af7a6d6951a63f3da7d4c5a7d3965bf73b63 (diff)
Perform access control for the implicit base and member destructor calls
required when emitting a destructor definition. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExceptionSpec.cpp')
-rw-r--r--lib/Sema/SemaExceptionSpec.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Sema/SemaExceptionSpec.cpp b/lib/Sema/SemaExceptionSpec.cpp
index 9be411b552..4ce1ce9b01 100644
--- a/lib/Sema/SemaExceptionSpec.cpp
+++ b/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: