]> granicus.if.org Git - clang/commit
Various small fixes for construction/destruction of Objective-C++
authorDouglas Gregor <dgregor@apple.com>
Thu, 20 May 2010 02:24:22 +0000 (02:24 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 20 May 2010 02:24:22 +0000 (02:24 +0000)
commit68dd3ee3b5ae5b7694b4a21e34b4355431ed0457
treeb227ee8ce59a285afd87fca98894b68d55994cd1
parentc3e31d66f1a6f396fb08b0cabfc47c34705c01b1
Various small fixes for construction/destruction of Objective-C++
instance variables:
  - Use isRecordType() rather than isa<RecordType>(), so that we see
  through typedefs in ivar types.
  - Mark the destructor as referenced
  - Perform C++ access control on the destructor

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104206 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaLookup.cpp
test/CodeGenObjCXX/encode.mm
test/SemaCXX/vararg-adl.cpp [new file with mode: 0644]
test/SemaObjCXX/ivar-construct.mm [new file with mode: 0644]