John McCall
3faf1cf3ea
Add a test case for P%7346, which was fixed by not doing the operator
...
delete lookup until the end of the class definition.
llvm-svn: 110176
2010-08-04 01:07:02 +00:00
John McCall
deb646ebb5
Only look up an 'operator delete' on the definition of a destructor, not on
...
a declaration.
llvm-svn: 110175
2010-08-04 01:04:25 +00:00
John McCall
66a8759400
Look through using declarations when deciding whether to use an operator
...
delete for a virtual destructor. Diagnose ambiguities.
Fixes PR7803.
llvm-svn: 110173
2010-08-04 00:31:26 +00:00
Daniel Dunbar
8fbe78f6fc
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
...
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).
llvm-svn: 91446
2009-12-15 20:14:24 +00:00
Sebastian Redl
931e0bd331
Pretend destructors are const and volatile. This allows calling them with const and/or volatile objects. Fixes PR5548.
...
llvm-svn: 89244
2009-11-18 20:55:52 +00:00