Skip to content
Commit 9515625d authored by Chris Lattner's avatar Chris Lattner
Browse files

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 :)

llvm-svn: 43093
parent 42ebe5c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment