commit | f8740920eec94f04752ad7bf1b86de9587412b1c | [log] [tgz] |
---|---|---|
author | Shafik Yaghmour <shafik.yaghmour@intel.com> | Sat Aug 16 14:08:39 2025 -0700 |
committer | GitHub <noreply@github.com> | Sat Aug 16 14:08:39 2025 -0700 |
tree | 5871ec885d2090b37264c5e426a967e90c63b105 | |
parent | ddae3b74a396512b7578f4ccb5ce0e8b57234962 [diff] |
[Clang][Sema] Check the return value of DiagnoseClassNameShadow in ActOnEnumConstant (#143754) Static analysis flagged that we were not checking the return value of DiagnoseClassNameShadow when we did so everywhere else. Modifying this case to match how other places uses it makes sense and does not change behavior. Likely if this check fails later actions will fail as well but it is more correct to exit early.
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.