aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-04-21 10:39:13 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-04-21 10:39:13 -0400
commite3c524c1d482a845bb2d6555bda386739c862226 (patch)
treef787e6def3e09691db95852e1a264eb660585af1 /src/codegen.cpp
parentecb71d1dd34e98fc9813cffa473f83127e6e3d01 (diff)
downloadzig-e3c524c1d482a845bb2d6555bda386739c862226.tar.gz
zig-e3c524c1d482a845bb2d6555bda386739c862226.zip
rename `@ptrcast` to `@ptrCast` to follow convention
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index d8c3e0e2d6..c0131e6a5e 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -4551,7 +4551,7 @@ static void define_builtin_fns(CodeGen *g) {
create_builtin_fn(g, BuiltinFnIdSetGlobalSection, "setGlobalSection", 2);
create_builtin_fn(g, BuiltinFnIdSetGlobalLinkage, "setGlobalLinkage", 2);
create_builtin_fn(g, BuiltinFnIdPanic, "panic", 1);
- create_builtin_fn(g, BuiltinFnIdPtrCast, "ptrcast", 2);
+ create_builtin_fn(g, BuiltinFnIdPtrCast, "ptrCast", 2);
create_builtin_fn(g, BuiltinFnIdIntToPtr, "intToPtr", 2);
create_builtin_fn(g, BuiltinFnIdEnumTagName, "enumTagName", 1);
create_builtin_fn(g, BuiltinFnIdFieldParentPtr, "fieldParentPtr", 3);