commit | 9ae21b073ab48b376687ecd7fbae12e08b4ae86e | [log] [tgz] |
---|---|---|
author | Julian Schmidt <git.julian.schmidt@gmail.com> | Fri Nov 15 07:05:20 2024 +0100 |
committer | GitHub <noreply@github.com> | Fri Nov 15 01:05:20 2024 -0500 |
tree | 0f4b73aa66313c1d75a46b516170597fa4019ae3 | |
parent | 1b23ebe0770aaf85f37e085b53067066d2d99cc8 [diff] |
[clangd] fix extract-to-function for overloaded operators (#81640) When selecting code that contains the use of overloaded operators, the SelectionTree will attribute the operator to the operator declaration, not to the `CXXOperatorCallExpr`. To allow extract-to-function to work with these operators, make unselected `CXXOperatorCallExpr`s valid root statements, just like `DeclStmt`s. Partially fixes clangd/clangd#1254 --------- Co-authored-by: Nathan Ridge <zeratul976@hotmail.com>
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.