teak-llvm/lldb/packages/Python/lldbsuite/test/lang/cpp
Sean Callanan 7736a208b8 [fix] Fixed a bug where const this would cause parser errors about $__lldb_expr.
In templated const functions, trying to run an expression would produce the
error

error: out-of-line definition of '$__lldb_expr' does not match any declaration
in 'foo' member declaration does not match because it is const qualified
error: 1 error parsing expression

which is no good.  It turned out we don't actually need to worry about "const,"
we just need to be consistent about the declaration of the expression and the
FunctionDecl we inject into the class for "this."

Also added a test case.

<rdar://problem/24985958>

llvm-svn: 268083
2016-04-29 18:09:03 +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 [fix] Fixed a bug where const this would cause parser errors about $__lldb_expr. 2016-04-29 18:09:03 +00:00
diamond Remove assumptions that thread 0 is always the main thread. 2016-01-21 21:07:30 +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
frame-var-anon-unions Fix test cases for big-endian systems 2016-04-14 14:35:02 +00:00
global_operators Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
gmodules Adds a test to detect when clang omits specialized generic types from debug information when using precompiled headers and -gmodules. 2016-04-19 18:20:11 +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 Added a testcase for defining and using lambdas in the expression parser. 2016-04-15 00:26:32 +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 Skip a test in TestNamespaceLookup on linux to avoid a crash 2016-04-12 10:06:37 +00:00
nsimport Remove expectedFailureFreeBSD decorator 2016-02-19 19:25:03 +00:00
overloaded-functions Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +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
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 Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
virtual Delete all the xfail / skip decorators for specific compilers. 2016-02-09 21:36:15 +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