diff options
author | Chris Lattner <sabre@nondot.org> | 2007-10-17 21:28:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-10-17 21:28:00 +0000 |
commit | 5075477aad33b82b3657e5363459045e230f865d (patch) | |
tree | 6ccc599e0baa9122fe94522ff4b9708823577f1d /CodeGen/CodeGenModule.cpp | |
parent | 9d62a5b31ec3762f416cc9ef89d1b7b433d13ac5 (diff) |
Add rewriter support for @encode expressions. For example,
we currently turn:
c = @encode(char *)[2] + 4;
into:
c = "foo"[2] + 4;
Right now the foo string is hard coded, but you can imagine a world
where it wouldn't be :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43093 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions