All apps/LLVM

LLVM

llvm

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

Runs as clang, clang++, clangd, clang-format, clang-tidy, llvm-config|macOS, Linux, Windows|llvm.org

Command form

ai-draft · 2 tasks · 11 fields

Compile or link C/C++ sources with clang. Optimisation level, -std and -W flags are left out because the completion data does not model them reliably; clang-format, clang-tidy and clangd are not covered.

Opens the form; the finished command lands at your prompt, unrun
otty gui llvm
Compile with clangExample values, fixed in this page — nothing here reaches a terminal
Basic
Source files*
file
Output file*
file
Debug information
-g
TasksEach one presets the form for one job
Build an executable
sourcesoutputdebug
Compile to object file
sourcescompile_onlydebug
ParametersOnly these flags are editable in the form
Source files
path · positional 0 · repeatable
Output file
path
-o
Compile only (no link)
boolean
-c
Emit assembly
boolean
-S
Preprocess only
boolean
-E
Debug information
boolean
-g
Include directories
path · repeatable
-I
Library directories
path · repeatable
-L
Macro definitions
NAME or NAME=value.
string · repeatable
-D
Suppress all warnings
boolean
-w
Verbose
boolean
-v
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed clang against its version. A form that does not match your version is not offered.