hanchenye-llvm-project/lldb
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
..
cmake Support Linux on SystemZ as platform 2016-04-14 14:28:34 +00:00
docs test commit 2016-04-25 19:02:05 +00:00
examples Fix regression in gnu_libstdcpp.py introduced by r266313 2016-04-14 18:31:12 +00:00
include/lldb When building the list of variables we're going to write "using $_lldb_local_vars" 2016-04-26 00:29:59 +00:00
lit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:14:05 +00:00
lldb.xcodeproj update Jenkins Xcode buildbot target for r266885 2016-04-20 20:54:59 +00:00
lldb.xcworkspace
packages/Python/lldbsuite Fixed a bug where const this would cause parser errors about $__lldb_expr. 2016-04-28 01:36:21 +00:00
resources Bump the lldb version # in the xcode project files from 2016-03-15 04:36:11 +00:00
scripts Create _lldb python symlink correctly when LLVM_LIBDIR_SUFFIX is used 2016-04-25 20:34:34 +00:00
source Fixed a bug where const this would cause parser errors about $__lldb_expr. 2016-04-28 01:36:21 +00:00
test Fix ResourceWarning about unclosed file in use_lldb_suite_root.py. 2016-01-15 22:22:35 +00:00
third_party/Python/module Put progress.py back, apparently this can't be deleted. 2015-12-09 21:32:28 +00:00
tools Don't disable stdin buffering on Windows 2016-04-14 23:31:17 +00:00
unittests Fix compiler warnings in SymbolFilePDBTests 2016-04-27 10:40:52 +00:00
utils
www Update the website with lots of new info about building / testing. 2016-02-24 22:19:23 +00:00
.arcconfig
.clang-format Update .clang-format file to support break after return type. 2015-12-28 22:09:29 +00:00
.gitignore modify Xcode build to use cmake/ninja for internal llvm/clang 2016-01-28 07:36:44 +00:00
CMakeLists.txt Create _lldb python symlink correctly when LLVM_LIBDIR_SUFFIX is used 2016-04-25 20:34:34 +00:00
CODE_OWNERS.txt Added myself to the CODE_OWNERS.txt list for a few subsystems. 2015-11-09 01:24:36 +00:00
INSTALL.txt
LICENSE.TXT
use_lldb_suite_root.py