[all-commits] [llvm/llvm-project] 3d82f8: [libc++][modules] Fixes clang-tidy exports.
Mark de Wever via All-commits
all-commits at lists.llvm.org
Tue Jan 16 23:26:51 PST 2024
Branch: refs/heads/users/mordante/fixes_clang-tidy_exports
Home: https://github.com/llvm/llvm-project
Commit: 3d82f80ba0973d2ace793ddf8a8d85e580509818
https://github.com/llvm/llvm-project/commit/3d82f80ba0973d2ace793ddf8a8d85e580509818
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-01-17 (Wed, 17 Jan 2024)
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