[clang] [Modules] Fix cyclic dependencies in clang (PR #102348)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 7 11:36:38 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Steven Wu (cachemeifyoucan)
<details>
<summary>Changes</summary>
Breakup the cyclic dependency in module 'Clang_Frontend':
Clang_Frontend -> Clang_Serialization -> Clang_Frontend
---
Full diff: https://github.com/llvm/llvm-project/pull/102348.diff
1 Files Affected:
- (modified) clang/include/clang/Serialization/ObjectFilePCHContainerReader.h (+1-1)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/102348
More information about the cfe-commits
mailing list