llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang-modules

Author: Haojian Wu (hokein)

<details>
<summary>Changes</summary>

The commit missed a test file.

---
Full diff: https://github.com/llvm/llvm-project/pull/129221.diff


1 Files Affected:

- (added) clang/test/Modules/pr28744.cpp (+17) 


``````````diff
diff --git a/clang/test/Modules/pr28744.cpp b/clang/test/Modules/pr28744.cpp
new file mode 100644
index 0000000000000..2089872a2a75a
--- /dev/null
+++ b/clang/test/Modules/pr28744.cpp
@@ -0,0 +1,17 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -std=c++11 -I%S/Inputs/PR28794 -verify %s
+// RUN: %clang_cc1 -std=c++11 -fmodules 
-fmodule-map-file=%S/Inputs/PR28794/module.modulemap -fmodules-cache-path=%t 
-I%S/Inputs/PR28794/ -verify %s
+
+#include "Subdir/Empty.h"
+#include "LibAHeader.h"
+
+BumpPtrAllocatorImpl<> &getPreprocessorAllocator();
+class B {
+  struct ModuleMacroInfo {
+    ModuleMacroInfo *getModuleInfo() {
+      return new (getPreprocessorAllocator()) ModuleMacroInfo();
+    }
+  };
+};
+
+// expected-no-diagnostics

``````````

</details>


https://github.com/llvm/llvm-project/pull/129221
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to