diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-03-25 00:20:38 +0000 | 
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-03-25 00:20:38 +0000 | 
| commit | 031296e3169b9901db4637b0a7bad31d27566409 (patch) | |
| tree | 009e36b457e138ad0ce83d7322ca952698033cb0 /clang/lib/Sema/SemaCXXCast.cpp | |
| parent | b07a29ecd4ca4f96b7f7f9731a761c58b7b1a9eb (diff) | |
| download | bcm5719-llvm-031296e3169b9901db4637b0a7bad31d27566409.tar.gz bcm5719-llvm-031296e3169b9901db4637b0a7bad31d27566409.zip | |
Kill off two more uses of Sema::CheckReferenceInit in favor of the new
initialization code. Exposed a bug where we were not marking an
implicit conversion as an lvalue when we were forming a call to a
conversion function whose return type is a reference.
llvm-svn: 99459
Diffstat (limited to 'clang/lib/Sema/SemaCXXCast.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaCXXCast.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/clang/lib/Sema/SemaCXXCast.cpp b/clang/lib/Sema/SemaCXXCast.cpp index d3fe6aee5c9..285ee4945d8 100644 --- a/clang/lib/Sema/SemaCXXCast.cpp +++ b/clang/lib/Sema/SemaCXXCast.cpp @@ -621,8 +621,8 @@ TryLValueToRValueCast(Sema &Self, Expr *SrcExpr, QualType DestType,      return TC_Failed;    } -  // FIXME: Similar to CheckReferenceInit, we actually need more AST annotation -  // than nothing. +  // FIXME: We should probably have an AST node for lvalue-to-rvalue  +  // conversions.    return TC_Success;  } | 

