Login
From:
MaskRay
(Uncensored)
subscribe
Compiling C++ with the Clang API | MaskRay
https://maskray.me/blog/2025-03-09-compiling-c++-with-clang-api
links
backlinks
Tagged with:
llvm
clang
This post describes how to compile a single C++ source file to an object file with the Clang API. Here is the code. It behaves like a simplified clang executable that handles -c and -S.
Roast topics
Find topics
Find it!