clang

clang-wrapper 21.1.8

C language family frontend for LLVM (wrapper script)

<rendered-html><p>The Clang project provides a language front-end and tooling infrastructure for languages in the C language family (C, C++, Objective C/C++, OpenCL, CUDA, and RenderScript) for the LLVM project. It aims to deliver amazingly fast compiles, extremely useful error and warning messages and to provide a platform for building great source level tools. The Clang Static Analyzer and clang-tidy are tools that automatically find bugs in your code, and are great examples of the sort of tools that can be built using the Clang frontend as a library to parse C/C++ code.</p> </rendered-html>

https://clang.llvm.org/
University of Illinois/NCSA Open Source LicenseApache License 2.0LLVM Exception
main program: clangprograms: strip, size, objdump, objcopy, nm, strings, clang, as, addr2line, dwp, elfedit, ld.bfd, readelf, ranlib, gprof, ar, ld.gold, clang++, ld, c++filt, cc, c++, cpp
Platforms (64)
powerpcle-nonex86_64-nonepowerpc64le-linuxx86_64-freebsds390x-linuxi686-freebsdwasm64-wasip1m68k-linux
View source on NixOS/nixpkgs →

Install

Copy into your configuration

NixOS (configuration.nix)
environment.systemPackages = with pkgs; [
  clang
];
Ad-hoc shell
nix-shell -p clang
Flake (nix run)
nix run nixpkgs#clang