[all-commits] [llvm/llvm-project] b714fc: Move format internal code from llvm::detail to llv...
Chenguang Wang via All-commits
all-commits at lists.llvm.org
Tue Apr 2 08:35:29 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b714fc7f869c9627bab38b3a6cac5d5d7720f204
https://github.com/llvm/llvm-project/commit/b714fc7f869c9627bab38b3a6cac5d5d7720f204
Author: Chenguang Wang <w3cing at gmail.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M llvm/include/llvm/Support/FormatAdapters.h
M llvm/include/llvm/Support/FormatCommon.h
M llvm/include/llvm/Support/FormatProviders.h
M llvm/include/llvm/Support/FormatVariadic.h
M llvm/include/llvm/Support/FormatVariadicDetails.h
M llvm/lib/Support/FormatVariadic.cpp
M llvm/unittests/Support/FormatVariadicTest.cpp
M mlir/include/mlir/TableGen/Format.h
M mlir/lib/TableGen/Format.cpp
Log Message:
-----------
Move format internal code from llvm::detail to llvm::support::detail. (#87288)
Some support code, e.g. llvm/Support/Endian.h, uses
llvm::support::detail, but the format-related code uses llvm::detail. On
VS2019, when a C++ file includes both headers, a `detail::` from
`namespace llvm { ... }` becomes ambiguous.
44253a9c breaks TensorFlow and
[JAX](https://github.com/google/jax/actions/runs/8507773013/job/23300219405)
build because of this.
Since llvm::X::detail seems like a cleaner solution and is used in other
places as well (e.g. llvm::yaml::detail), we should probably migrate all
llvm::detail usages to llvm::X::detail.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list