[AVR] Convert C style comments to C++

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269895 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dylan McKay 2016-05-18 09:43:01 +00:00
parent 79149b9fae
commit 6a867d0312
7 changed files with 11 additions and 27 deletions

View File

@ -30,9 +30,7 @@ FunctionPass *createAVRFrameAnalyzerPass();
FunctionPass *createAVRDynAllocaSRPass();
FunctionPass *createAVRBranchSelectionPass();
/**
* Contains the AVR backend.
*/
/// Contains the AVR backend.
namespace AVR {
enum AddressSpace { DataMemory, ProgramMemory };

View File

@ -61,9 +61,7 @@ enum TOF {
} // end of namespace AVRII
/**
* Utilities related to the AVR instruction set.
*/
/// Utilities related to the AVR instruction set.
class AVRInstrInfo : public AVRGenInstrInfo {
public:
explicit AVRInstrInfo();

View File

@ -20,9 +20,7 @@
namespace llvm {
/**
* Contains AVR-specific information for each MachineFunction.
*/
/// Contains AVR-specific information for each MachineFunction.
class AVRMachineFunctionInfo : public MachineFunctionInfo {
/// Indicates if a register has been spilled by the register
/// allocator.

View File

@ -17,9 +17,8 @@
#include "llvm/CodeGen/SelectionDAGTargetInfo.h"
namespace llvm {
/**
* Holds information about the AVR instruction selection DAG.
*/
/// Holds information about the AVR instruction selection DAG.
class AVRSelectionDAGInfo : public SelectionDAGTargetInfo {
public:
};

View File

@ -27,9 +27,7 @@
namespace llvm {
/**
* A generic AVR implementation.
*/
/// A generic AVR implementation.
class AVRTargetMachine : public LLVMTargetMachine {
public:
AVRTargetMachine(const Target &T, const Triple &TT, StringRef CPU,

View File

@ -13,9 +13,8 @@
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
namespace llvm {
/**
* Lowering for an AVR ELF32 object file.
*/
/// Lowering for an AVR ELF32 object file.
class AVRTargetObjectFile : public TargetLoweringObjectFileELF {
typedef TargetLoweringObjectFileELF Base;

View File

@ -33,22 +33,16 @@ class raw_pwrite_stream;
extern Target TheAVRTarget;
/**
* Creates a machine code emitter for AVR.
*/
/// Creates a machine code emitter for AVR.
MCCodeEmitter *createAVRMCCodeEmitter(const MCInstrInfo &MCII,
const MCRegisterInfo &MRI,
MCContext &Ctx);
/**
* Creates an assembly backend for AVR.
*/
/// Creates an assembly backend for AVR.
MCAsmBackend *createAVRAsmBackend(const Target &T, const MCRegisterInfo &MRI,
const Triple &TT, StringRef CPU);
/**
* Creates an ELF object writer for AVR.
*/
/// Creates an ELF object writer for AVR.
MCObjectWriter *createAVRELFObjectWriter(raw_pwrite_stream &OS, uint8_t OSABI);
} // end namespace llvm