commit | a78c5c34fbd20fde02261c3f3e21933cd58fcc04 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Sep 04 18:29:40 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Sep 04 18:29:40 2009 +0000 |
tree | 230c1b5c35c1928705d6c3ac78adc9f4fc18d47b | |
parent | ed032eb5c18b99528cbd76415337b6056a72b911 [diff] |
If a destructor is referenced or a pseudo-destructor expression is formed without a trailing '(', diagnose the error (these expressions must be immediately called), emit a fix-it hint, and fix the code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81015 91177308-0d34-0410-b5e6-96231b3b80d8