teak-llvm/lldb/packages/Python/lldbsuite/test/lang/cpp
Pavel Labath 1ac2b20d25 Fix expression evaluation with operator new
Summary:
referencing a user-defined operator new was triggering an assert in clang because we were
registering the function name as string "operator new", instead of using the special operator
enum, which clang has for this purpose. Method operators already had code to handle this, and now
I extend this to cover free standing operator functions as well. Test included.

Reviewers: spyffe

Subscribers: sivachandra, paulherman, lldb-commits

Differential Revision: http://reviews.llvm.org/D17856

llvm-svn: 278670
2016-08-15 14:32:32 +00:00
..
auto Delete all the xfail / skip decorators for specific compilers. 2016-02-09 21:36:15 +00:00
bool
breakpoint-commands Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
call-function Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
chained-calls Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
char1632_t Delete all the xfail / skip decorators for specific compilers. 2016-02-09 21:36:15 +00:00
class_static Remove expectedFailureFreeBSD decorator 2016-02-19 19:25:03 +00:00
class_types Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
const_this Revert "Make lldbinline.py regenerate the Makefile each time it builds." 2016-06-07 21:29:46 +00:00
diamond Undid LLVM macro usage in test suite test subject files. 2016-08-10 01:37:27 +00:00
dynamic-value Remove XFAIL from test passing on FreeBSD 2016-02-19 16:58:08 +00:00
enum_types Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
exceptions Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
extern_c Revert "Make lldbinline.py regenerate the Makefile each time it builds." 2016-06-07 21:29:46 +00:00
frame-var-anon-unions Fix test cases for big-endian systems 2016-04-14 14:35:02 +00:00
global_operators Fix expression evaluation with operator new 2016-08-15 14:32:32 +00:00
gmodules xfail TestWithModuleDebugging.py on macOS 2016-06-16 15:22:49 +00:00
incomplete-types Remove FreeBSD failure decorator from TestCppIncompleteTypes 2016-02-10 00:03:52 +00:00
inlines Fix TestInlines.py on Windows 2016-02-29 21:13:29 +00:00
lambdas XFail TestLambdas.py on Windows after fixing some of the problems 2016-05-04 23:32:35 +00:00
limit-debug-info A number of improvements to decorator conditionals. 2016-02-08 19:35:18 +00:00
member-and-local-vars-with-same-name Take 2: Use an artifical namespace so that member vars do not hide local vars. 2016-02-05 19:10:04 +00:00
namespace mark newly failing tests as XFAIL 2016-07-14 10:43:24 +00:00
namespace_definitions XFAIL TestNamespaceDefinitions on gcc-4.8 and below 2016-08-12 09:52:14 +00:00
nsimport Enable some tests on linux 2016-06-09 22:39:36 +00:00
overloaded-functions Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
printf Test that lldb calls the right 'printf' even when a 'printf' method exists. 2016-06-20 23:01:11 +00:00
rvalue-references Delete all the xfail / skip decorators for specific compilers. 2016-02-09 21:36:15 +00:00
scope Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
signed_types NFC. Corrects name of test class and a comment. 2016-01-21 21:10:00 +00:00
static_members Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
static_methods Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
stl Switch from unittest2.expectedFailure to our own decorator on TestSTL 2016-03-16 10:39:33 +00:00
template Split TestTemplateIntegerArgs test into two 2016-07-04 13:49:46 +00:00
this Remove flaky decorator from three tests on linux 2016-04-27 12:43:37 +00:00
unicode-literals Enable TestUnicodeLiterals 2016-02-19 10:36:38 +00:00
unique-types Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
unsigned_types Clean up test results on Windows. 2016-05-13 18:26:30 +00:00
virtual Undid LLVM macro usage in test suite test subject files. 2016-08-10 01:37:27 +00:00
wchar_t Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00