teak-llvm/lldb/packages/Python/lldbsuite/test
Sean Callanan 8bdcd52251 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: 267833
2016-04-28 01:36:21 +00:00
..
android/platform Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
api Change over the broadcaster/listener process to hold shared or weak pointers 2016-03-07 21:50:25 +00:00
arm_emulation Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
attic Move lldb/test to lldb/packages/Python/lldbsuite/test. 2015-10-28 17:43:26 +00:00
benchmarks Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
driver/batch_mode Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
example Move lldb/test to lldb/packages/Python/lldbsuite/test. 2015-10-28 17:43:26 +00:00
expression_command XFail TestIRInterpreter on Windows 2016-04-27 21:53:19 +00:00
functionalities Decorate TSan tests with "@skipUnlessThreadSanitizer" which skips the tests if the selected compiler can't compile with "-fsanitize=thread". 2016-04-27 15:26:27 +00:00
help Add --help and --long-help options to 'command alias' such that one can now specify a help string for an alias as they are defining it 2016-03-31 01:10:54 +00:00
issue_verification fix a race is the LLDB test suite results collection 2016-04-18 16:09:21 +00:00
lang Fixed a bug where const this would cause parser errors about $__lldb_expr. 2016-04-28 01:36:21 +00:00
linux Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
logging Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
macosx Make sure code that is in the middle of figuring out the correct architecture 2016-02-18 23:58:45 +00:00
make 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
plugins Adjust for Python-3. 2016-02-12 20:30:47 +00:00
python_api Fix TestGetVariables.py. 2016-04-25 23:29:53 +00:00
settings [test] Relax stderr expectations on targets with chatty output 2016-04-14 15:52:53 +00:00
source-manager Fix typo in TestSourceManager.py 2016-04-19 09:31:14 +00:00
terminal Remove expected failure and skip decorators for host os. 2016-02-09 21:36:02 +00:00
test_runner test infra cleanup: convert test_runner lib into package 2016-04-19 04:20:35 +00:00
tools Add missing qRegisterInfo option to gdbremote testcase 2016-04-25 20:24:30 +00:00
types Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
warnings/uuid Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
__init__.py Get rid of global variables in dotest.py 2015-12-08 01:15:30 +00:00
.categories Move lldb/test to lldb/packages/Python/lldbsuite/test. 2015-10-28 17:43:26 +00:00
bench-history Move lldb/test to lldb/packages/Python/lldbsuite/test. 2015-10-28 17:43:26 +00:00
bench.py Python 3 - Turn on absolute imports, and fix existing imports. 2015-11-05 19:22:28 +00:00
configuration.py test infra: enable single-worker rerun phase for flakey tests. 2015-12-14 21:28:46 +00:00
crashinfo.c Move lldb/test to lldb/packages/Python/lldbsuite/test. 2015-10-28 17:43:26 +00:00
decorators.py Decorate TSan tests with "@skipUnlessThreadSanitizer" which skips the tests if the selected compiler can't compile with "-fsanitize=thread". 2016-04-27 15:26:27 +00:00
dosep.py test infra: move test event-related handling into its own package 2016-04-20 16:27:27 +00:00
dotest_args.py test infra: enable single-worker rerun phase for flakey tests. 2015-12-14 21:28:46 +00:00
dotest.py Store absolute path for lldb executable in dotest.py 2016-04-25 20:36:22 +00:00
lldb_pylint_helper.py Updated lldb_pylint_helper to work with recent Python package changes. 2015-11-10 20:01:33 +00:00
lldbbench.py Python 3 - Turn on absolute imports, and fix existing imports. 2015-11-05 19:22:28 +00:00
lldbcurses.py Python 3 - Turn on absolute imports, and fix existing imports. 2015-11-05 19:22:28 +00:00
lldbinline.py ensure lldbinline remembers .py extension 2016-04-18 20:26:56 +00:00
lldbpexpect.py Fixed the failing test TestCommandScriptImmediateOutput on MacOSX. Turns out that there are few things to watch out for when writing pexpect tests: 2016-03-30 00:02:13 +00:00
lldbplatform.py Add target and host platform enumerations so we're not using strings. 2016-02-18 18:50:02 +00:00
lldbplatformutil.py [test] Relax stderr expectations on targets with chatty output 2016-04-14 15:52:53 +00:00
lldbtest_config.py Move lldb/test to lldb/packages/Python/lldbsuite/test. 2015-10-28 17:43:26 +00:00
lldbtest.py test infra: move test event-related handling into its own package 2016-04-20 16:27:27 +00:00
lldbutil.py [test] make expect_state_changes actually expect *only* them 2016-04-14 15:52:58 +00:00
lock.py Move lldb/test to lldb/packages/Python/lldbsuite/test. 2015-10-28 17:43:26 +00:00
Makefile Move lldb/test to lldb/packages/Python/lldbsuite/test. 2015-10-28 17:43:26 +00:00
README-TestSuite Centralize the handling of attach permissions on linux in tests 2016-01-11 10:24:50 +00:00
redo.py Move lldb/test to lldb/packages/Python/lldbsuite/test. 2015-10-28 17:43:26 +00:00
test_categories.py Don't run dwo tests for windows targets. 2016-01-11 18:49:30 +00:00
test_result.py test infra: move test event-related handling into its own package 2016-04-20 16:27:27 +00:00