commit | 46a2abb91cb6cfac9b807ae2055cc5f1743405e4 | [log] [tgz] |
---|---|---|
author | Paul Kirth <paulkirth@google.com> | Mon Jul 08 16:30:18 2024 -0700 |
committer | GitHub <noreply@github.com> | Mon Jul 08 16:30:18 2024 -0700 |
tree | 6c29fd35b3a4a0d751410420b50840c467d5280d | |
parent | c95935789da9349c470ce75203af93624360b2b6 [diff] |
[clang-doc][nfc] Avoid constructing SmallString in ToString method (#96921) This patch updates the return type of HTMLTag::toString from SmallString<16> to StringRef, since this API only returns string literals. As a result, there is no need to construct a full heap allocated or owned string. Additionally, this patch renames ToString to toString to match the LLVM style guide.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.