When we see something that looks like a constructor with a return type, only...
When we see something that looks like a constructor with a return type, only issue one error, not two. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241424 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/Sema/SemaDecl.cpp 6 additions, 5 deletionslib/Sema/SemaDecl.cpp
- test/CXX/class/class.mem/p2.cpp 2 additions, 5 deletionstest/CXX/class/class.mem/p2.cpp
- test/CXX/drs/dr1xx.cpp 2 additions, 2 deletionstest/CXX/drs/dr1xx.cpp
- test/Parser/cxx-default-delete.cpp 1 addition, 1 deletiontest/Parser/cxx-default-delete.cpp
- test/SemaCXX/constructor.cpp 1 addition, 2 deletionstest/SemaCXX/constructor.cpp
Loading
Please register or sign in to comment