diff options
author | Anders Carlsson <andersca@mac.com> | 2010-04-24 17:11:09 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-04-24 17:11:09 +0000 |
commit | e25a96c0629b6f928d5e8055510789817db827d0 (patch) | |
tree | 5e49238185913d4e2c004317e4549d6a36a01296 /lib/Sema/SemaInit.cpp | |
parent | f1b48b7014992155286d58bb1676f9f51031d18b (diff) |
Pass the base specifiers through to CheckDerivedToBaseConversion. No functionality change yet.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaInit.cpp')
-rw-r--r-- | lib/Sema/SemaInit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaInit.cpp b/lib/Sema/SemaInit.cpp index 90c8e3bac6..5887c5e7e4 100644 --- a/lib/Sema/SemaInit.cpp +++ b/lib/Sema/SemaInit.cpp @@ -3461,7 +3461,7 @@ InitializationSequence::Perform(Sema &S, bool IgnoreBaseAccess = Kind.isCStyleOrFunctionalCast(); if (S.CheckDerivedToBaseConversion(SourceType, Step->Type, CurInitExpr->getLocStart(), - CurInitExpr->getSourceRange(), + CurInitExpr->getSourceRange(), 0, IgnoreBaseAccess)) return S.ExprError(); |