[clang] [NFC] clang add DiagnosticsTestHelper decl (PR #112820)

Jinsong Ji via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 18 08:38:20 PDT 2024


================
@@ -1024,6 +1024,9 @@ class DiagnosticsEngine : public RefCountedBase<DiagnosticsEngine> {
   /// @}
 };
 
+/// Declare the friend function for testing to avoid GCC warning.
----------------
jsji wrote:

Sure.

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


More information about the cfe-commits mailing list