clang++
LLVM C++ compiler as a g++ alternative
Syntax
$clang++ [options] <input files>
Optionen
-o
-std
-Wall
-O2
Examples
Examples
$clang++ main.cpp -o app
Examples
$clang++ -std=c++20 src.cpp -o src
Examples
$clang++ -Wall -O2 app.cpp -o app
Alternatives
Typical use cases
Note
Supports modern C++ standards and LLVM tooling.
Export