commit | c62284c43d519317979e3028f7c37f42eed6ac8e | [log] [tgz] |
---|---|---|
author | Eli Friedman <efriedma@quicinc.com> | Tue Sep 02 12:20:13 2025 -0700 |
committer | GitHub <noreply@github.com> | Tue Sep 02 12:20:13 2025 -0700 |
tree | 36906bb9cce0be631d08bb7f17b64b42e62abcae | |
parent | cf3a8876f4129f76884a67f6db9214adb7adedc6 [diff] |
[clang] Followup for constexpr-unknown potential constant expressions. (#151053) 6a60f18997d62b0e2842a921fcb6beb3e52ed823 fixed the primary issue of dereferences, but there are some expressions that depend on the identity of the pointed-to object without actually accessing it. Handle those cases. Also, while I'm here, fix a crash in interpreter mode comparing typeid to nullptr.
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.