[clang] 61c0a6d - [Modules] Fix cyclic module dependencies in clang (#102348)

via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 7 16:26:44 PDT 2024


Author: Steven Wu
Date: 2024-08-07T16:26:39-07:00
New Revision: 61c0a6d72d53107b683b3c4d636df7b9be0d4d09

URL: https://github.com/llvm/llvm-project/commit/61c0a6d72d53107b683b3c4d636df7b9be0d4d09
DIFF: https://github.com/llvm/llvm-project/commit/61c0a6d72d53107b683b3c4d636df7b9be0d4d09.diff

LOG: [Modules] Fix cyclic module dependencies in clang (#102348)

Breakup the cyclic dependency in module 'Clang_Frontend':
Clang_Frontend -> Clang_Serialization -> Clang_Frontend

Added: 
    

Modified: 
    clang/include/clang/Serialization/ObjectFilePCHContainerReader.h

Removed: 
    


################################################################################
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


        


More information about the cfe-commits mailing list