diff options
author | Sean Callanan <scallanan@apple.com> | 2010-09-14 21:59:34 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2010-09-14 21:59:34 +0000 |
commit | 44096b1a7e04ef2aa2e24db9360b843bff88a33c (patch) | |
tree | f3134d39a9b9c0c84e57efdd11305f1f3f358471 /llvm/lib/Target/ARM/ARMConstantPoolValue.cpp | |
parent | 86ac3fc9af774b49ed51a446830e5c4382bc8199 (diff) | |
download | bcm5719-llvm-44096b1a7e04ef2aa2e24db9360b843bff88a33c.tar.gz bcm5719-llvm-44096b1a7e04ef2aa2e24db9360b843bff88a33c.zip |
Added code to support use of "this" and "self" in
expressions. This involved three main changes:
- In ClangUserExpression::ClangUserExpression(),
we now insert the following lines into the
expression:
#define this ___clang_this
#define self ___clang_self
- In ClangExpressionDeclMap::GetDecls(), we
special-case ___clang_(this|self) and instead
look up "this" or "self"
- In ClangASTSource, we introduce the capability
to generate Decls with a different, overridden,
name from the one that was requested, e.g.
this for ___clang_this.
llvm-svn: 113866
Diffstat (limited to 'llvm/lib/Target/ARM/ARMConstantPoolValue.cpp')
0 files changed, 0 insertions, 0 deletions