| commit | 37797d3e802f9e740b05556cdaa3bb1f6cdef5e0 | [log] [tgz] |
|---|---|---|
| author | Peng Liu <winner245@hotmail.com> | Fri Dec 06 09:03:17 2024 -0500 |
| committer | GitHub <noreply@github.com> | Fri Dec 06 09:03:17 2024 -0500 |
| tree | b69068822af3b00e0aebf7bdeaa2b01d652ceee5 | |
| parent | 952c5156e65d15e0f8692ec55e2874657150259e [diff] |
[libc++][test] Fix and refactor exception tests for std::vector constructors (#117662) The existing exceptions tests for `vector<T>` have several issues: some tests did not throw exceptions at all, making them not useful for exception-safety testing, and some tests did not throw exceptions at the intended points, failing to serve their expected purpose. This PR fixes those tests for vector's constructors. Morever, this PR extracted common classes and utilities into a separate header file, and renamed those classes using more descriptive names.
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.