[all-commits] [llvm/llvm-project] 6a623e: [NFC] add DiagnosticsTestHelper decl (#112820)
Jinsong Ji via All-commits
all-commits at lists.llvm.org
Fri Oct 18 09:54:21 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6a623e8484fe713d7074acb7ceab520458bfa89c
https://github.com/llvm/llvm-project/commit/6a623e8484fe713d7074acb7ceab520458bfa89c
Author: Jinsong Ji <jinsong.ji at intel.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M clang/unittests/Basic/DiagnosticTest.cpp
Log Message:
-----------
[NFC] add DiagnosticsTestHelper decl (#112820)
This is one of the many PRs to fix errors with LLVM_ENABLE_WERROR=on.
Built by GCC 11.
Fix warning
llvm-project/clang/unittests/Basic/DiagnosticTest.cpp:19:6: error: ‘void
clang::DiagnosticsTestHelper(clang::DiagnosticsEngine&)’ has not been
declared within ‘clang’ [-Werror]
19 | void clang::DiagnosticsTestHelper(DiagnosticsEngine &diag) {
| ^~~~~
In file included from
llvm-project/clang/unittests/Basic/DiagnosticTest.cpp:9:
llvm-project/clang/include/clang/Basic/Diagnostic.h:567:15: note: only
here as a ‘friend’
567 | friend void DiagnosticsTestHelper(DiagnosticsEngine &);
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list