[llvm] 87805d6 - [MCA] Hot fix for -Wmismatched-tags errors on mca::SourceMgr
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 24 16:14:56 PDT 2022
Author: Min-Yih Hsu
Date: 2022-06-24T16:14:18-07:00
New Revision: 87805d6a249a11016126e2c9e4f8eae64c0cfc6c
URL: https://github.com/llvm/llvm-project/commit/87805d6a249a11016126e2c9e4f8eae64c0cfc6c
DIFF: https://github.com/llvm/llvm-project/commit/87805d6a249a11016126e2c9e4f8eae64c0cfc6c.diff
LOG: [MCA] Hot fix for -Wmismatched-tags errors on mca::SourceMgr
Hot fix for -Wmismatched-tags build errors regarding mca::SourceMgr
changes introduced in 97579dcc6d3cd129c75b0502f7c43a18292d44b1.
Added:
Modified:
llvm/include/llvm/MC/TargetRegistry.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/MC/TargetRegistry.h b/llvm/include/llvm/MC/TargetRegistry.h
index 4ff358df4a343..eeac559f81b1b 100644
--- a/llvm/include/llvm/MC/TargetRegistry.h
+++ b/llvm/include/llvm/MC/TargetRegistry.h
@@ -60,7 +60,7 @@ class TargetOptions;
namespace mca {
class CustomBehaviour;
class InstrPostProcess;
-class SourceMgr;
+struct SourceMgr;
} // namespace mca
MCStreamer *createNullStreamer(MCContext &Ctx);
More information about the llvm-commits
mailing list