[Lldb-commits] [PATCH] D11790: Fix ObjC++ types Class and id being defined in C and C++ expressions.

Paul Herman paulherman at google.com
Wed Aug 5 16:22:26 PDT 2015


paulherman created this revision.
paulherman added reviewers: sivachandra, clayborg, spyffe, jingham.
paulherman added a subscriber: lldb-commits.

This allows using "Class" and "id" as identifiers in C and C++ expressions. This was because ObjC++ runtime was available by default. It now selects the default language when evaluating an expression from the current frame compile unit.

http://reviews.llvm.org/D11790

Files:
  include/lldb/Expression/ClangASTSource.h
  include/lldb/Expression/ClangExpressionDeclMap.h
  include/lldb/Target/Target.h
  source/Commands/CommandObjectExpression.cpp
  source/Expression/ClangASTSource.cpp
  source/Expression/ClangExpressionDeclMap.cpp
  source/Expression/ClangExpressionParser.cpp
  source/Expression/ClangUserExpression.cpp
  source/Target/Target.cpp
  test/lang/cpp/chained-calls/Makefile
  test/lang/cpp/chained-calls/TestCppChainedCalls.py
  test/lang/cpp/chained-calls/main.cpp
  test/lang/cpp/global_operators/Makefile
  test/lang/cpp/global_operators/TestCppGlobalOperators.py
  test/lang/cpp/global_operators/main.cpp
  test/lang/cpp/nsimport/Makefile
  test/lang/cpp/nsimport/TestCppNsImport.py
  test/lang/cpp/nsimport/main.cpp
  test/lang/cpp/restricted_names/Makefile
  test/lang/cpp/restricted_names/TestCppRestrictedNames.py
  test/lang/cpp/restricted_names/main.cpp
  test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11790.31417.patch
Type: text/x-patch
Size: 31340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150805/e901e447/attachment-0001.bin>


More information about the lldb-commits mailing list