jszhn

Recent Notes

  • ALOHA

    Feb 01, 2026

    • ARP

      Feb 01, 2026

      • American literature

        Feb 01, 2026

        • Assert

          Feb 01, 2026

          • Atomics

            Feb 01, 2026

            Home

            ❯

            Clang

            Clang

            Oct 29, 20251 min read

            Clang and Clang++ are a set of C/C++ compilers with an LLVM back-end.

            For build automation support (Meson, CMake), we have to set environment variables, otherwise the tool will use GCC/G++ by default.

            CC=clang CXX=clang++ cmake ..

            Flags

            • -ast-dump: outputs Clang’s AST representation of the source file.
            • -emit-llvm: outputs the LLVM intermediate representation.

            Graph View

            Backlinks

            • C
            • LLDB
            • LLVM
            • MSVC
            • Undefined behaviour

            Created with Quartz v4.5.2 © 2026

            • Twitter
            • LinkedIn
            • GitHub