summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan McKay <dylanmckay34@gmail.com>2016-05-18 09:43:01 +0000
committerDylan McKay <dylanmckay34@gmail.com>2016-05-18 09:43:01 +0000
commitd56676ed654d743a87e3b25cbb65e21d2c4dd565 (patch)
tree8c9b6f2d39d4848c43d1d50aab5dd43f8dfad73b
parent2ecd0902c723f7b56fd145a60c2e50610ab73dc6 (diff)
downloadbcm5719-llvm-d56676ed654d743a87e3b25cbb65e21d2c4dd565.tar.gz
bcm5719-llvm-d56676ed654d743a87e3b25cbb65e21d2c4dd565.zip
[AVR] Convert C style comments to C++
llvm-svn: 269895
-rw-r--r--llvm/lib/Target/AVR/AVR.h4
-rw-r--r--llvm/lib/Target/AVR/AVRInstrInfo.h4
-rw-r--r--llvm/lib/Target/AVR/AVRMachineFunctionInfo.h4
-rw-r--r--llvm/lib/Target/AVR/AVRSelectionDAGInfo.h5
-rw-r--r--llvm/lib/Target/AVR/AVRTargetMachine.h4
-rw-r--r--llvm/lib/Target/AVR/AVRTargetObjectFile.h5
-rw-r--r--llvm/lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.h12
7 files changed, 11 insertions, 27 deletions
diff --git a/llvm/lib/Target/AVR/AVR.h b/llvm/lib/Target/AVR/AVR.h
index 4c1667ed341..041c77cfcb9 100644
--- a/llvm/lib/Target/AVR/AVR.h
+++ b/llvm/lib/Target/AVR/AVR.h
@@ -30,9 +30,7 @@ FunctionPass *createAVRFrameAnalyzerPass();
FunctionPass *createAVRDynAllocaSRPass();
FunctionPass *createAVRBranchSelectionPass();
-/**
- * Contains the AVR backend.
- */
+/// Contains the AVR backend.
namespace AVR {
enum AddressSpace { DataMemory, ProgramMemory };
diff --git a/llvm/lib/Target/AVR/AVRInstrInfo.h b/llvm/lib/Target/AVR/AVRInstrInfo.h
index 0e278ec9b21..7a93461c9bc 100644
--- a/llvm/lib/Target/AVR/AVRInstrInfo.h
+++ b/llvm/lib/Target/AVR/AVRInstrInfo.h
@@ -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();
diff --git a/llvm/lib/Target/AVR/AVRMachineFunctionInfo.h b/llvm/lib/Target/AVR/AVRMachineFunctionInfo.h
index 6571d5d3e60..8cfe3fd51cb 100644
--- a/llvm/lib/Target/AVR/AVRMachineFunctionInfo.h
+++ b/llvm/lib/Target/AVR/AVRMachineFunctionInfo.h
@@ -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.
diff --git a/llvm/lib/Target/AVR/AVRSelectionDAGInfo.h b/llvm/lib/Target/AVR/AVRSelectionDAGInfo.h
index 77dffed8f09..6474c877933 100644
--- a/llvm/lib/Target/AVR/AVRSelectionDAGInfo.h
+++ b/llvm/lib/Target/AVR/AVRSelectionDAGInfo.h
@@ -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:
};
diff --git a/llvm/lib/Target/AVR/AVRTargetMachine.h b/llvm/lib/Target/AVR/AVRTargetMachine.h
index d03a5c542bb..96254565581 100644
--- a/llvm/lib/Target/AVR/AVRTargetMachine.h
+++ b/llvm/lib/Target/AVR/AVRTargetMachine.h
@@ -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,
diff --git a/llvm/lib/Target/AVR/AVRTargetObjectFile.h b/llvm/lib/Target/AVR/AVRTargetObjectFile.h
index bdda35b3499..58761258431 100644
--- a/llvm/lib/Target/AVR/AVRTargetObjectFile.h
+++ b/llvm/lib/Target/AVR/AVRTargetObjectFile.h
@@ -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;
diff --git a/llvm/lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.h b/llvm/lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.h
index 72f0bdfed3d..4386a11e850 100644
--- a/llvm/lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.h
+++ b/llvm/lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.h
@@ -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
OpenPOWER on IntegriCloud