[all-commits] [llvm/llvm-project] dd147d: [libc++][modules] Fixes clang-tidy exports.
Mark de Wever via All-commits
all-commits at lists.llvm.org
Sat Dec 23 06:30:31 PST 2023
Branch: refs/heads/users/mordante/fixes_clang-tidy_exports
Home: https://github.com/llvm/llvm-project
Commit: dd147d317c4a1d0f9f98113106c630a1feec4320
https://github.com/llvm/llvm-project/commit/dd147d317c4a1d0f9f98113106c630a1feec4320
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2023-12-23 (Sat, 23 Dec 2023)
Changed paths:
M libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp
Log Message:
-----------
[libc++][modules] Fixes clang-tidy exports.
As suggested in #71438 we should use
export import std;
in the std.compat module.
Using this exports some named declarations from functions and records,
adding them to the global namespace. Clang correctly, does not export
these it's and issue in the declaration filtering. Declarations in
function or record context are not considered a global named
declaration.
More information about the All-commits
mailing list