Allow constant-folding of references which were formed in a manner not permitted
in a constant expression, for compatibility with g++. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148020 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/AST/ExprConstant.cpp 6 additions, 10 deletionslib/AST/ExprConstant.cpp
- test/CXX/expr/expr.const/p2-0x.cpp 2 additions, 1 deletiontest/CXX/expr/expr.const/p2-0x.cpp
- test/CodeGenCXX/const-init.cpp 7 additions, 0 deletionstest/CodeGenCXX/const-init.cpp
- www/cxx_status.html 3 additions, 3 deletionswww/cxx_status.html
Loading
Please register or sign in to comment