OSDN Git Service

[AVR] Convert C style comments to C++
authorDylan McKay <dylanmckay34@gmail.com>
Wed, 18 May 2016 09:43:01 +0000 (09:43 +0000)
committerDylan McKay <dylanmckay34@gmail.com>
Wed, 18 May 2016 09:43:01 +0000 (09:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269895 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AVR/AVR.h
lib/Target/AVR/AVRInstrInfo.h
lib/Target/AVR/AVRMachineFunctionInfo.h
lib/Target/AVR/AVRSelectionDAGInfo.h
lib/Target/AVR/AVRTargetMachine.h
lib/Target/AVR/AVRTargetObjectFile.h
lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.h

index 4c1667e..041c77c 100644 (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 };
index 0e278ec..7a93461 100644 (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();
index 6571d5d..8cfe3fd 100644 (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.
index 77dffed..6474c87 100644 (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:
 };
index d03a5c5..9625456 100644 (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,
index bdda35b..5876125 100644 (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;
 
index 72f0bdf..4386a11 100644 (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