-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[Modules] Fix cyclic module dependencies in clang #102348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Modules] Fix cyclic module dependencies in clang #102348
Conversation
Created using spr 1.3.5
@llvm/pr-subscribers-clang-modules @llvm/pr-subscribers-clang Author: Steven Wu (cachemeifyoucan) ChangesBreakup the cyclic dependency in module 'Clang_Frontend': Full diff: https://github.com/llvm/llvm-project/pull/102348.diff 1 Files Affected:
diff --git a/clang/include/clang/Serialization/ObjectFilePCHContainerReader.h b/clang/include/clang/Serialization/ObjectFilePCHContainerReader.h
index 6281a3f428869..06778d25d7e52 100644
--- a/clang/include/clang/Serialization/ObjectFilePCHContainerReader.h
+++ b/clang/include/clang/Serialization/ObjectFilePCHContainerReader.h
@@ -9,7 +9,7 @@
#ifndef LLVM_CLANG_SERIALIZATION_OBJECTFILEPCHCONTAINERREADER_H
#define LLVM_CLANG_SERIALIZATION_OBJECTFILEPCHCONTAINERREADER_H
-#include "clang/Frontend/PCHContainerOperations.h"
+#include "clang/Serialization/PCHContainerOperations.h"
namespace clang {
/// A PCHContainerReader implementation that uses LLVM to
|
Maybe the next step is to get rid of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, would be great to do the follow-up you suggest.
Breakup the cyclic dependency in module 'Clang_Frontend': Clang_Frontend -> Clang_Serialization -> Clang_Frontend (cherry picked from commit 61c0a6d)
Breakup the cyclic dependency in module 'Clang_Frontend': Clang_Frontend -> Clang_Serialization -> Clang_Frontend (cherry picked from commit 61c0a6d)
Breakup the cyclic dependency in module 'Clang_Frontend': Clang_Frontend -> Clang_Serialization -> Clang_Frontend (cherry picked from commit 61c0a6d)
Breakup the cyclic dependency in module 'Clang_Frontend':
Clang_Frontend -> Clang_Serialization -> Clang_Frontend