Hello everyone! I am a student , and I currently learn about the swift source code , I interesting in the arc (automatic reference count), but I didnt find the source code about arc in the swift repo ( apple/swift: The Swift Programming Language (github.com)), I want know where the source code about arc , thanks very much.
Are you asking about the basic runtime routines for refcounting or about the compiler logic that automates and/or optimizes calls to them?
Both of them
RefCount.h is a good place to start for the runtime calls. Good luck with it, it's a lot to take in.