]> granicus.if.org Git - llvm/commitdiff
Fix incorrect documentation comment left after r321692
authorAlex Bradbury <asb@lowrisc.org>
Wed, 3 Jan 2018 09:14:02 +0000 (09:14 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Wed, 3 Jan 2018 09:14:02 +0000 (09:14 +0000)
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

index cc0d55722c8bd8b354e7b6913d197534763f431f..8a429ab728ed4af632456522af42f0779a74437a 100644 (file)
@@ -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 {