jszhn

Recent Notes

  • A* algorithm

    Oct 29, 2025

    • ALOHA

      Oct 29, 2025

      • ARP

        Oct 29, 2025

        • Accounting

          Oct 29, 2025

          • Activation function

            Oct 29, 2025

            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 © 2025

            • Twitter
            • LinkedIn
            • GitHub