clang-1/tools
John McCall 4b9c2d235f Change the AST representation of operations on Objective-C
property references to use a new PseudoObjectExpr
expression which pairs a syntactic form of the expression
with a set of semantic expressions implementing it.
This should significantly reduce the complexity required
elsewhere in the compiler to deal with these kinds of
expressions (e.g. IR generation's special l-value kind,
the static analyzer's Message abstraction), at the lower
cost of specifically dealing with the odd AST structure
of these expressions.  It should also greatly simplify
efforts to implement similar language features in the
future, most notably Managed C++'s properties and indexed
properties.

Most of the effort here is in dealing with the various
clients of the AST.  I've gone ahead and simplified the
ObjC rewriter's use of properties;  other clients, like
IR-gen and the static analyzer, have all the old
complexity *and* all the new complexity, at least
temporarily.  Many thanks to Ted for writing and advising
on the necessary changes to the static analyzer.

I've xfailed a small diagnostics regression in the static
analyzer at Ted's request.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143867 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-06 09:01:30 +00:00
..
arcmt-test [arcmt] In GC, transform NSMakeCollectable to CFBridgingRelease. 2011-11-04 15:58:08 +00:00
c-arcmt-test [arcmt] Move the remapping functions to clang-c/Index.h and change 'arcmt_' prefix to 'clang_'. 2011-07-11 20:15:00 +00:00
c-index-test [libclang] For "c-index-test -index-file", print out the names of the callbacks. 2011-11-05 04:03:35 +00:00
diagtool Reduce dependencies. 2011-10-23 08:38:37 +00:00
driver rename getHostTriple into getDefaultTargetTriple in clang 2011-11-01 21:33:06 +00:00
libclang Change the AST representation of operations on Objective-C 2011-11-06 09:01:30 +00:00
scan-build [analyzer] When running scan-build with -plist on ./configure, delete the plist files. 2011-09-09 18:43:53 +00:00
scan-view Fix call to send_error() in scan-view. An int error code is expected but a string was being sent. Patch by Andrew Price! 2011-02-21 19:26:48 +00:00
CMakeLists.txt Place back previous order of add_subdirectory()'s to reflect build depedencies. 2011-08-09 14:55:12 +00:00
Makefile Add 'diagtool' to the 'tools/' directory. diagtool is a new tool (WIP) for analyzing and working with clang diagnostics. 2011-08-09 03:39:19 +00:00