3 examples for clang

{{ score }}
  # Check for correctness
clang -fsyntax-only source.c

# Emit LLVM Intermediate Representation
clang -S -emit-llvm source.c -o output.ll

# Emit LLVM IR bitcode
clang -c -emit-llvm source.c -o output.bc

# Compile to native machine code
clang -S source.c -o assembly.s
        
{{ score }}
  # Compiles prog.c into executable 'prog'
clang -o prog program.c
        
{{ score }}
  # Compiles program.c into program, with more warnings than usual, and disabling extensions
clang -Werror -Wall -Wextra -pedantic program.c -o program