summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ExpressionSourceCode.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed the #defines for YES and NO, and centralizedSean Callanan2012-09-131-33/+35
| | | | | | | | | them in one place rather than having them replicated across all the potential function wrappers. <rdar://problem/12293880> llvm-svn: 163857
* Made nil resolve as (id)0 and not be looked upSean Callanan2012-05-311-0/+8
| | | | | | | (which regularly conflicts with existing symbols in Objective-C). llvm-svn: 157758
* Added a #define of NULL to 0 to make NULL usableSean Callanan2012-05-091-1/+9
| | | | | | in expressions. llvm-svn: 156514
* Pulled in a new version of LLVM/Clang to solve a varietySean Callanan2011-11-151-16/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of problems with Objective-C object completion. To go along with the LLVM/Clang-side fixes, we have a variety of Objective-C improvements. Fixes include: - It is now possible to run expressions when stopped in an Objective-C class method and have "self" act just like "self" would act in the class method itself (i.e., [self classMethod] works without casting the return type if debug info is present). To accomplish this, the expression masquerades as a class method added by a category. - Objective-C objects can now provide methods and properties and methods to Clang on demand (i.e., the ASTImporter sets hasExternalVisibleDecls on Objective-C interface objects). - Objective-C built-in types, which had long been a bone of contention (should we be using "id"? "id*"?), are now fetched correctly using accessor functions on ClangASTContext. We inhibit searches for them in the debug information. There are also a variety of logging fixes, and I made two changes to the test suite: - Enabled a test case for Objective-C properties in the current translation unit. - Added a test case for calling Objective-C class methods when stopped in a class method. llvm-svn: 144607
* Factored out handling of the source code for anSean Callanan2011-09-261-0/+88
expression into a separate class. This class encapsulates wrapping the function as needed. I am also moving from using booleans to indicate what the expression's language should be to using lldb::LanguageType instead. llvm-svn: 140545
OpenPOWER on IntegriCloud