aboutsummaryrefslogtreecommitdiff
path: root/src/zig_clang.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-12-31 20:39:33 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-12-31 20:39:33 -0500
commit42945a269ad5d746eed1acb20696723d18ec8653 (patch)
tree5f243d0d9ecf6330f6bbca0872f6fa37f8ff6176 /src/zig_clang.cpp
parent5749f706ef866b3c77d6fb8fda9ed08e5c118f58 (diff)
downloadzig-42945a269ad5d746eed1acb20696723d18ec8653.tar.gz
zig-42945a269ad5d746eed1acb20696723d18ec8653.zip
translate-c: better mangling strategy
Block-local identifiers have block-local mangling numbers, and more consistent mangling is applied within blocks. Parameters, for example, are treated the same as other block-local variables, and are not mangled unless they conflict with another name in scope.
Diffstat (limited to 'src/zig_clang.cpp')
0 files changed, 0 insertions, 0 deletions