[Lldb-commits] [PATCH] D11688: Fix ObjC types Class and id being defined in C and C++ expressions.
Paul Herman
paulherman at google.com
Fri Jul 31 11:51:18 PDT 2015
paulherman created this revision.
paulherman added reviewers: clayborg, sivachandra, spyffe.
paulherman added a subscriber: lldb-commits.
This allows using "Class" and "id" as identifiers in C and C++ expressions. This works only when the language of the expression to be evaluated is explicitly specified as C or C++. As future work, should we try to determine the language from the target and assume that C++ and ObjC runtimes are not available for most languages (i.e. go, rust, D, etc)?
http://reviews.llvm.org/D11688
Files:
include/lldb/Expression/ClangASTSource.h
include/lldb/Expression/ClangExpressionDeclMap.h
source/Expression/ClangASTSource.cpp
source/Expression/ClangExpressionDeclMap.cpp
source/Expression/ClangExpressionParser.cpp
source/Expression/ClangUserExpression.cpp
test/lang/cpp/restricted_names/Makefile
test/lang/cpp/restricted_names/TestCppRestrictedNames.py
test/lang/cpp/restricted_names/main.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11688.31151.patch
Type: text/x-patch
Size: 9155 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150731/c769f4e9/attachment.bin>
More information about the lldb-commits
mailing list