diff --git a/llvm/lib/Target/XCore/Disassembler/XCoreDisassembler.cpp b/llvm/lib/Target/XCore/Disassembler/XCoreDisassembler.cpp index d0a98d136154..16b91d996c17 100644 --- a/llvm/lib/Target/XCore/Disassembler/XCoreDisassembler.cpp +++ b/llvm/lib/Target/XCore/Disassembler/XCoreDisassembler.cpp @@ -6,9 +6,10 @@ // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// -// This file is part of the XCore Disassembler. -// +/// +/// \file +/// \brief This file is part of the XCore Disassembler. +/// //===----------------------------------------------------------------------===// #include "XCore.h" @@ -26,16 +27,14 @@ typedef MCDisassembler::DecodeStatus DecodeStatus; namespace { -/// XCoreDisassembler - a disasembler class for XCore. +/// \brief A disassembler class for XCore. class XCoreDisassembler : public MCDisassembler { const MCRegisterInfo *RegInfo; public: - /// Constructor - Initializes the disassembler. - /// XCoreDisassembler(const MCSubtargetInfo &STI, const MCRegisterInfo *Info) : MCDisassembler(STI), RegInfo(Info) {} - /// getInstruction - See MCDisassembler. + /// \brief See MCDisassembler. virtual DecodeStatus getInstruction(MCInst &instr, uint64_t &size, const MemoryObject ®ion, diff --git a/llvm/lib/Target/XCore/InstPrinter/XCoreInstPrinter.h b/llvm/lib/Target/XCore/InstPrinter/XCoreInstPrinter.h index c39456091643..772c515b5c9e 100644 --- a/llvm/lib/Target/XCore/InstPrinter/XCoreInstPrinter.h +++ b/llvm/lib/Target/XCore/InstPrinter/XCoreInstPrinter.h @@ -6,9 +6,11 @@ // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// -// This class prints a XCore MCInst to a .s file. -// +/// +/// \file +/// \brief This file contains the declaration of the XCoreInstPrinter class, +/// which is used to print XCore MCInst to a .s file. +/// //===----------------------------------------------------------------------===// #ifndef XCOREINSTPRINTER_H diff --git a/llvm/lib/Target/XCore/XCoreMCInstLower.cpp b/llvm/lib/Target/XCore/XCoreMCInstLower.cpp index 7cdbadac3147..f96eda9fcb9f 100644 --- a/llvm/lib/Target/XCore/XCoreMCInstLower.cpp +++ b/llvm/lib/Target/XCore/XCoreMCInstLower.cpp @@ -6,10 +6,11 @@ // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// -// This file contains code to lower XCore MachineInstrs to their corresponding -// MCInst records. -// +/// +/// \file +/// \brief This file contains code to lower XCore MachineInstrs to their +/// corresponding MCInst records. +/// //===----------------------------------------------------------------------===// #include "XCoreMCInstLower.h" #include "llvm/CodeGen/AsmPrinter.h" diff --git a/llvm/lib/Target/XCore/XCoreMCInstLower.h b/llvm/lib/Target/XCore/XCoreMCInstLower.h index fb138f0214d8..28e702bb9884 100644 --- a/llvm/lib/Target/XCore/XCoreMCInstLower.h +++ b/llvm/lib/Target/XCore/XCoreMCInstLower.h @@ -21,8 +21,7 @@ namespace llvm { class Mangler; class AsmPrinter; -/// XCoreMCInstLower - This class is used to lower an MachineInstr into an -// MCInst. +/// \brief This class is used to lower an MachineInstr into an MCInst. class LLVM_LIBRARY_VISIBILITY XCoreMCInstLower { typedef MachineOperand::MachineOperandType MachineOperandType; MCContext *Ctx;