Fix references:
According to the spec (C++ 5p6[expr]), we need to adjust "T&" to "T" before further analysis. We do this via the "implicit cast" thingy. llvm-svn: 39953
Showing
- clang/AST/Expr.cpp 5 additions, 1 deletionclang/AST/Expr.cpp
- clang/Sema/SemaExpr.cpp 5 additions, 1 deletionclang/Sema/SemaExpr.cpp
- clang/include/clang/AST/Expr.h 1 addition, 0 deletionsclang/include/clang/AST/Expr.h
- clang/test/Sema/cxx-references.cpp 18 additions, 0 deletionsclang/test/Sema/cxx-references.cpp
Loading
Please register or sign in to comment