[clang] [clang-tools-extra] [libcxx] [clang][Modules] Remove unnecessary includes of `Module.h` (PR #93417)

David Stone via cfe-commits cfe-commits at lists.llvm.org
Mon May 27 09:38:23 PDT 2024


================
@@ -159,7 +159,8 @@ class APINotesManager {
   ArrayRef<APINotesReader *> getCurrentModuleReaders() const {
     bool HasPublic = CurrentModuleReaders[ReaderKind::Public];
     bool HasPrivate = CurrentModuleReaders[ReaderKind::Private];
-    assert((!HasPrivate || HasPublic) && "private module requires public module");
+    assert((!HasPrivate || HasPublic) &&
+           "private module requires public module");
----------------
davidstone wrote:

clang-format did that when I touched the file. Does the formatting requirement apply to a narrower set of changes than the entire file?

https://github.com/llvm/llvm-project/pull/93417


More information about the cfe-commits mailing list