Manual-sync mirror of chromium.googlesource.com/external/github.com/llvm/llvm-project (bare monorepo, no subtree suffix)
Find a file
Ian Anderson 501645cbeb
[libc++] Remove libc++'s <float.h> (#175849)
The existence of <float.h> in libc++ leads to difficulties with modules,
especially when it comes to supporting the various __need macros
supported by the Clang builtin headers.

Fortunately, libc++'s <float.h> only defines FLT_EVAL_METHOD and
DECIMAL_DIG, which are already defined by the Clang builtin headers in
C++11 mode. Hence, removing the header entirely should have no impact,
apart from not defining FLT_EVAL_METHOD and DECIMAL_DIG in C++03 mode.
However, that is arguably something that libc++ shouldn't be doing: if
the underlying C library doesn't want to provide these definitions, then
libc++ shouldn't force it to.
2026-01-19 15:12:40 -05:00
.ci [CI] Disable precompiled headers in pre-commit CI (#176563) 2026-01-17 21:03:37 +00:00
.github [Github] Update actions/upload-artifact action to v6 (#176677) 2026-01-18 19:09:59 -08:00
bolt [BOLT] Fix long-jmp-bti-plt.c test (#176709) 2026-01-19 10:03:09 +01:00
clang [LifetimeSafety] Track dereference operators behind a flag (#176794) 2026-01-19 20:09:49 +00:00
clang-tools-extra [clang-tidy] Warn on use of std::get_temporary_buffer (#176191) 2026-01-19 17:56:24 +01:00
cmake Bump version to 23.0.0-git 2026-01-13 09:34:22 +00:00
compiler-rt [dfsan] Add dataflow sanitizer support for SystemZ (#168991) 2026-01-19 15:28:34 +01:00
cross-project-tests [DTLTO] Fix handling of multi-module bitcode inputs (#174624) 2026-01-15 00:21:01 +00:00
flang [flang][AIX] XFAIL tests that use plugin (NFC) (#176489) 2026-01-19 14:39:00 -05:00
flang-rt [flang-rt] Fix system_clock scaling on MacOS (#176753) 2026-01-19 17:54:15 +00:00
libc [libc][math] Refactor ilogbf implementation to header-only in src/__support/math folder. (#175522) 2026-01-19 17:57:36 +02:00
libclc [libclc][NFC] Don't include 'clc/internal/clc.h' in OpenCL library (#176336) 2026-01-16 19:24:37 +08:00
libcxx [libc++] Remove libc++'s <float.h> (#175849) 2026-01-19 15:12:40 -05:00
libcxxabi [runtimes] Post-branch tasks for the LLVM 23 release (#176007) 2026-01-14 18:39:02 +00:00
libsycl [SYCL] Add CodingGuidelines.rst for libsycl (#171867) 2026-01-15 01:39:45 -08:00
libunwind [runtimes] Post-branch tasks for the LLVM 23 release (#176007) 2026-01-14 18:39:02 +00:00
lld [DTLTO] Add DTLTO-specific LTO input handling time-trace scopes (#175799) 2026-01-19 14:06:58 +00:00
lldb [LLDB][NFC] use llvm::StringRef instead of std::string (#176748) 2026-01-19 15:04:45 +00:00
llvm [ReachingDefAnalysis] Fix printing of RDA results. (#176474) 2026-01-19 12:03:51 -08:00
llvm-libgcc
mlir [mlir] Always update ExtractValue to use last container in insert chain (#176588) 2026-01-19 20:22:50 +01:00
offload [Offload][CI] Convert openmp-offload-amdgpu staging bots to ScriptedBuilder (#174991) 2026-01-17 22:02:23 +01:00
openmp [OpenMP][omptest] Fix CMake target properties (#176802) 2026-01-19 19:09:29 +00:00
orc-rt [orc-rt] Make WrapperFunctionResult constructor explicit. (#176298) 2026-01-16 15:00:13 +11:00
polly [SCEV] Add initial support for ptrtoaddr. (#158032) 2026-01-16 11:58:04 +00:00
runtimes [libc++] Enable -Wmissing-prototypes (#116261) 2025-12-16 11:25:07 +01:00
third-party [benchmark][NFC] Update cc_binary load (#169710) 2025-12-01 10:00:53 -06:00
utils/bazel Fix bazel build for 44b3d7b (#176784) 2026-01-19 10:32:45 -08:00
.clang-format Enforce Unix line endings for Clang/LLVM/MLIR projects (#161460) 2025-10-02 06:09:12 -07:00
.clang-format-ignore Add empty top level .clang-format-ignore (#136022) 2025-04-16 15:48:30 -07:00
.clang-tidy Add default empty header filter regex to root .clang-tidy (#167386) 2025-11-11 01:36:25 +03:00
.git-blame-ignore-revs [clang-tidy][NFC] Add clang-tidy formatting commit to .git-blame-ignore-revs (#167126) 2025-11-20 21:42:10 +08:00
.gitattributes [libclang/python] Enable packaging clang python bindings (#125806) 2025-11-24 17:21:24 -08:00
.gitignore [NFC] Add tablegen_compile_commands.yml to .gitignore (#175687) 2026-01-13 08:45:52 -08:00
.mailmap [mailmap] Update my name 2025-04-14 16:54:14 +08:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md [www][docs] Remove last mentions of IRC (#139076) 2025-05-08 09:40:33 -04:00
LICENSE.TXT
pyproject.toml [lldb] Configure pyright to the documented minimum python version (#162952) 2025-11-20 10:30:22 -08:00
README.md
SECURITY.md

The LLVM Compiler Infrastructure

OpenSSF Scorecard OpenSSF Best Practices libc++

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.

Getting the Source Code and Building LLVM

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.

Getting in touch

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.