[all-commits] [llvm/llvm-project] 8ee502: [clang] don't serialize MODULE_DIRECTORY with Modu...
Richard Howell via All-commits
all-commits at lists.llvm.org
Wed Apr 5 07:20:03 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8ee5029b225ba1ff415e0a0a6a68dc4e3efee4d1
https://github.com/llvm/llvm-project/commit/8ee5029b225ba1ff415e0a0a6a68dc4e3efee4d1
Author: Richard Howell <rhow at fb.com>
Date: 2023-04-05 (Wed, 05 Apr 2023)
Changed paths:
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/Modules/module-file-home-is-cwd.m
Log Message:
-----------
[clang] don't serialize MODULE_DIRECTORY with ModuleFileHomeIsCwd
Fix a bug in the MODULE_DIRECTORY serialization logic
that would cause MODULE_DIRECTORY to be serialized when
`-fmodule-file-home-is-cwd` is specified.
This matches the original logic added in:
https://github.com/apple/llvm-project/commit/f7b41371d9ede1aecf0930e5bd4a463519264633
Reviewed By: keith
Differential Revision: https://reviews.llvm.org/D147561
More information about the All-commits
mailing list