Welcome to Clang's documentation! — Clang 21.0.0git documentation (original) (raw)
Using Clang as a Compiler¶
- Clang Compiler User’s Manual
- Assembling a Complete Toolchain
- Clang Language Extensions
- Clang command line argument reference
- Attributes in Clang
- Diagnostic flags in Clang
- Warning suppression mappings
- Cross-compilation using Clang
- Clang Static Analyzer
- Thread Safety Analysis
- C++ Safe Buffers
- Data flow analysis: an informal introduction
- Function Effect Analysis
- AddressSanitizer
- ThreadSanitizer
- MemorySanitizer
- UndefinedBehaviorSanitizer
- DataFlowSanitizer
- LeakSanitizer
- TypeSanitizer
- RealtimeSanitizer
- SanitizerCoverage
- SanitizerStats
- Sanitizer special case list
- -fbounds-safety: Enforcing bounds safety for C
- Adoption Guide for -fbounds-safety
- Implementation plans for -fbounds-safety
- Control Flow Integrity
- LTO Visibility
- SafeStack
- ShadowCallStack
- Source-based Code Coverage
- Standard C++ Modules
- Modules
- MSVC compatibility
- Misexpect
- OpenCL Support
- OpenMP Support
- SYCL Compiler and Runtime architecture design
- HIP Support
- HLSL Support
- HLSL Design and Implementation
- ThinLTO
- API Notes: Annotations Without Modifying Headers
- Debugging C++ Coroutines
- AMDGPU Support
- Clang “man” pages
- Frequently Asked Questions (FAQ)
Using Clang as a Library¶
- Choosing the Right Interface for Your Application
- External Clang Examples
- Introduction to the Clang AST
- LibTooling
- Libclang tutorial
- LibFormat
- Clang Plugins
- How to write RecursiveASTVisitor based ASTFrontendActions.
- Tutorial for building tools using LibTooling and LibASTMatchers
- Matching the Clang AST
- Clang Transformer Tutorial
- ASTImporter: Merging Clang ASTs
- How To Setup Clang Tooling For LLVM
- JSON Compilation Database Format Specification
- Clang’s refactoring engine
Using Clang Tools¶
- Overview
- ClangCheck
- ClangFormat
- Clang-Format Style Options
- Clang Linker Wrapper
- Clang nvlink Wrapper
- Clang Offload Bundler
- Clang Offload Packager
- Clang-Repl
- Clang SYCL Linker
Design Documents¶
- Clang Maintainers
- “Clang” CFE Internals Manual
- Driver Design & Internals
- Multilib
- Offloading Design & Internals
- Precompiled Header and Modules Internals
- ABI tags
- Hardware-assisted AddressSanitizer Design Documentation
- Constant Interpreter