Implement DR577
DR18 previously forebode typedefs to be used as parameter types if they were of type 'void'. DR577 allows 'void' to be used as a function parameter type regardless from where it came. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201631 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Basic/DiagnosticSemaKinds.td 0 additions, 2 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- include/clang/Sema/Sema.h 0 additions, 1 deletioninclude/clang/Sema/Sema.h
- lib/Sema/SemaDecl.cpp 0 additions, 17 deletionslib/Sema/SemaDecl.cpp
- lib/Sema/SemaLambda.cpp 0 additions, 1 deletionlib/Sema/SemaLambda.cpp
- test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p2-0x.cpp 1 addition, 1 deletiontest/CXX/dcl.dcl/dcl.spec/dcl.typedef/p2-0x.cpp
- test/CXX/drs/dr0xx.cpp 1 addition, 4 deletionstest/CXX/drs/dr0xx.cpp
- test/SemaCXX/alias-template.cpp 1 addition, 1 deletiontest/SemaCXX/alias-template.cpp
Loading
Please register or sign in to comment