Add a missing RequireCompleteType call when synthesizing properties. <rdar://problem/11333367>.
While I'm here, fix source locations for other diagnostics related to property synthesis. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155953 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Basic/DiagnosticSemaKinds.td 2 additions, 4 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- lib/Sema/SemaObjCProperty.cpp 36 additions, 18 deletionslib/Sema/SemaObjCProperty.cpp
- test/SemaObjC/default-synthesize-1.m 7 additions, 0 deletionstest/SemaObjC/default-synthesize-1.m
- test/SemaObjCXX/property-synthesis-error.mm 12 additions, 1 deletiontest/SemaObjCXX/property-synthesis-error.mm
Loading
Please register or sign in to comment