[all-commits] [llvm/llvm-project] 7d34f8: [libc++][module] Fixes std::string UDL. (#75000)
Mark de Wever via All-commits
all-commits at lists.llvm.org
Tue Dec 12 13:17:16 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7d34f8c09ee17327668c337ff3a7c30656f8daca
https://github.com/llvm/llvm-project/commit/7d34f8c09ee17327668c337ff3a7c30656f8daca
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2023-12-12 (Tue, 12 Dec 2023)
Changed paths:
M libcxx/modules/std/string.inc
M libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp
M libcxx/utils/libcxx/test/modules.py
Log Message:
-----------
[libc++][module] Fixes std::string UDL. (#75000)
The fix changes the way the validation script determines the qualified
name of a declaration. Inline namespaces without a reserved name are now
always part of the name. The Clang code only does this when the names
are ambigious. This method is often used for the operator""foo for UDLs.
Adjusted the newly flagged issue and removed a work-around in the test
code that is no longer required.
Fixes https://github.com/llvm/llvm-project/issues/72427
More information about the All-commits
mailing list