This version is build without support for the experimental library but
the code still wants to link this function. Inlining the function solves
the issue.
Details
Details
- Reviewers
ldionne mstorsjo - Group Reviewers
Restricted Project - Commits
- rG308a5b1a32f0: [libc++] Inlines format_error for clang-cl DLL.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Not much opinion on the change itself, but one nitpick about a comment.
libcxx/include/__format/format_error.h | ||
---|---|---|
35 | Nitpick, "Clang-cl", or "MSVC mode" or something like that, but not plain "Clang". |
libcxx/include/__format/format_error.h | ||
---|---|---|
35 | Thanks for the comment! I'll fix it when landing the patch. |
Comment Actions
LGTM but we should really look into fixing the experimental library on Windows/shared.
Nitpick, "Clang-cl", or "MSVC mode" or something like that, but not plain "Clang".