Compile C++ source files. Part of LLVM. More information: https://clang.llvm.org.
clang++ path/to/source.cpp -o path/to/output_executable
clang++ path/to/source.cpp -Wall -o path/to/output_executable
clang++ path/to/source.cpp -std=c++20 -o path/to/output_executable
clang++ path/to/source.cpp -o path/to/output_executable -Ipath/to/header_path -Lpath/to/library_path -lpath/to/library_name
clang++ -S -emit-llvm path/to/source.cpp -o path/to/output.ll
clang++ path/to/source.cpp -O1|2|3|fast -o path/to/output_executable