[all-commits] [llvm/llvm-project] e1f4da: [clang][modules] Correctly set module map systemne...
Michael Spencer via All-commits
all-commits at lists.llvm.org
Wed Mar 19 11:19:47 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e1f4daf836e24d9c39fdd4fda84c01e4af31fd65
https://github.com/llvm/llvm-project/commit/e1f4daf836e24d9c39fdd4fda84c01e4af31fd65
Author: Michael Spencer <bigcheesegs at gmail.com>
Date: 2025-03-19 (Wed, 19 Mar 2025)
Changed paths:
M clang/lib/Frontend/CompilerInstance.cpp
A clang/test/Modules/transitive-system.test
Log Message:
-----------
[clang][modules] Correctly set module map systemness (#131940)
This uses the systemness of the module map instead of of the Module
instance, as doing otherwise could incorrectly parse the other modules
in that module map as system.
This is still correct as the only ways to get a system module are by the
module map being in a system path, or the module having the [system]
attribute, both of which are handled here.
This makes it so that the systemness of a module is deterministic
instead of depending on the path taken to build it.
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