From be92b6658774433948b9fe99a70f438e9e9c1608 Mon Sep 17 00:00:00 2001 From: Alex Bradbury Date: Wed, 3 Jan 2018 09:14:02 +0000 Subject: [PATCH] Fix incorrect documentation comment left after r321692 TargetRegistryInfo::createMCAsmBackend no longer takes a TheTriple parameter. The majory of the TargetRegistryInfo::create* functions have no or very limitied per-parameter doc comments, and adding a comment for the MCSubtargetInfo, MCRegisterInfo and MCTargetOptions parameters seems like it would add no real value beyond reading the function signature. As such, I've just deleted the doc comment for TheTriple. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321694 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/TargetRegistry.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/llvm/Support/TargetRegistry.h b/include/llvm/Support/TargetRegistry.h index cc0d55722c8..8a429ab728e 100644 --- a/include/llvm/Support/TargetRegistry.h +++ b/include/llvm/Support/TargetRegistry.h @@ -381,8 +381,6 @@ public: } /// createMCAsmBackend - Create a target specific assembly parser. - /// - /// \param TheTriple The target triple string. MCAsmBackend *createMCAsmBackend(const MCSubtargetInfo &STI, const MCRegisterInfo &MRI, const MCTargetOptions &Options) const { -- 2.49.0