| commit | 4072a6b85beed8427d14f13248d2f9cfaede489f | [log] [tgz] |
|---|---|---|
| author | Marco Maia <marcogmaia@gmail.com> | Mon Jul 28 04:31:12 2025 -0300 |
| committer | GitHub <noreply@github.com> | Mon Jul 28 09:31:12 2025 +0200 |
| tree | 05b0ae60bbbb88efd542df8ef90317d4150ecbd0 | |
| parent | 376326c6606205a390568e84a76bb182aee02ed1 [diff] |
Reland "[clangd] Add tweak to override pure virtuals" (#150788) This relands commit https://github.com/llvm/llvm-project/commit/7355ea3f6b214d1569da43d02f9a166ff15012e6. The original commit was reverted in https://github.com/llvm/llvm-project/commit/bfd73a5161608e6355f7db87dc5f5afee56d7e2f because it was breaking the buildbot. The issue has now been resolved by https://github.com/llvm/llvm-project/commit/38f82534bbe9e1c9f5edd975a72e07beb7048423. Original PR: https://github.com/llvm/llvm-project/pull/139348 Original commit message: <blockquote> closes https://github.com/clangd/clangd/issues/1037 closes https://github.com/clangd/clangd/issues/2240 Example: ```c++ class Base { public: virtual void publicMethod() = 0; protected: virtual auto privateMethod() const -> int = 0; }; // Before: // // cursor here class Derived : public Base{}^ ; // After: class Derived : public Base { public: void publicMethod() override { // TODO: Implement this pure virtual method. static_assert(false, "Method `publicMethod` is not implemented."); } protected: auto privateMethod() const -> int override { // TODO: Implement this pure virtual method. static_assert(false, "Method `privateMethod` is not implemented."); } }; ``` https://github.com/user-attachments/assets/79de40d9-1004-4c2e-8f5c-be1fb074c6de </blockquote>
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.