commit | 1d7bcf4b35f8bc0a0a40f4ea7b06b55c63725108 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Jan 06 01:31:20 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Jan 06 01:31:20 2012 +0000 |
tree | 6e9a01946c637a5af8f99458634b47f504f45fbd | |
parent | a0b2ba1d0ec27240f922c95b5acd8df905e3d3e0 [diff] |
Tweak to r147599 for PR10828: Move the check from the parser into sema, and use the Semantic Powers to only warn on class types (or dependent types), where the constructor or destructor could do something interesting. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147642 91177308-0d34-0410-b5e6-96231b3b80d8