diff options
author | John McCall <rjmccall@apple.com> | 2009-11-30 22:55:35 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-11-30 22:55:35 +0000 |
commit | 132f3133ae348126993979867cf58de673016d4a (patch) | |
tree | 8e8990627f016aa86dd9f0ab7e835d688af1e32b /clang/lib/Sema/SemaExpr.cpp | |
parent | 10eae1851d3f6cfa9ab665fc2bd54a3ff57293d8 (diff) | |
download | bcm5719-llvm-132f3133ae348126993979867cf58de673016d4a.tar.gz bcm5719-llvm-132f3133ae348126993979867cf58de673016d4a.zip |
Remove all of Sema's explicit uses of OverloadedFunctionDecl except for
those associated with TemplateNames.
llvm-svn: 90162
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 94449e27707..3a97ee5d9d2 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -417,8 +417,6 @@ static bool ShouldSnapshotBlockValueReference(BlockSemaInfo *CurBlock, Sema::OwningExprResult Sema::BuildDeclRefExpr(NamedDecl *D, QualType Ty, SourceLocation Loc, const CXXScopeSpec *SS) { - assert(!isa<OverloadedFunctionDecl>(D)); - if (Context.getCanonicalType(Ty) == Context.UndeducedAutoTy) { Diag(Loc, diag::err_auto_variable_cannot_appear_in_own_initializer) |