diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-08-13 16:26:38 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-08-13 16:26:38 +0000 |
commit | a7c40ef0224ba21c53d28b90fddbae0d4c5329c2 (patch) | |
tree | ff4d6a904732bf29d95097bc8292e3d3ec4124ef /llvm/lib/Target/MSP430 | |
parent | 2f5db8b3db7546bb911608f4c7e85962c6019bc7 (diff) | |
download | bcm5719-llvm-a7c40ef0224ba21c53d28b90fddbae0d4c5329c2.tar.gz bcm5719-llvm-a7c40ef0224ba21c53d28b90fddbae0d4c5329c2.zip |
Canonicalize header guards into a common format.
Add header guards to files that were missing guards. Remove #endif comments
as they don't seem common in LLVM (we can easily add them back if we decide
they're useful)
Changes made by clang-tidy with minor tweaks.
llvm-svn: 215558
Diffstat (limited to 'llvm/lib/Target/MSP430')
-rw-r--r-- | llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h | 4 | ||||
-rw-r--r-- | llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h | 4 | ||||
-rw-r--r-- | llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.h | 4 | ||||
-rw-r--r-- | llvm/lib/Target/MSP430/MSP430.h | 4 | ||||
-rw-r--r-- | llvm/lib/Target/MSP430/MSP430FrameLowering.h | 4 | ||||
-rw-r--r-- | llvm/lib/Target/MSP430/MSP430ISelLowering.h | 6 | ||||
-rw-r--r-- | llvm/lib/Target/MSP430/MSP430InstrInfo.h | 4 | ||||
-rw-r--r-- | llvm/lib/Target/MSP430/MSP430MCInstLower.h | 4 | ||||
-rw-r--r-- | llvm/lib/Target/MSP430/MSP430MachineFunctionInfo.h | 4 | ||||
-rw-r--r-- | llvm/lib/Target/MSP430/MSP430RegisterInfo.h | 6 | ||||
-rw-r--r-- | llvm/lib/Target/MSP430/MSP430SelectionDAGInfo.h | 4 | ||||
-rw-r--r-- | llvm/lib/Target/MSP430/MSP430Subtarget.h | 4 | ||||
-rw-r--r-- | llvm/lib/Target/MSP430/MSP430TargetMachine.h | 6 |
13 files changed, 29 insertions, 29 deletions
diff --git a/llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h b/llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h index 5afbd20dd42..7fae5056b1b 100644 --- a/llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h +++ b/llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef MSP430INSTPRINTER_H -#define MSP430INSTPRINTER_H +#ifndef LLVM_LIB_TARGET_MSP430_INSTPRINTER_MSP430INSTPRINTER_H +#define LLVM_LIB_TARGET_MSP430_INSTPRINTER_MSP430INSTPRINTER_H #include "llvm/MC/MCInstPrinter.h" diff --git a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h index ef805bbab5b..2c9532d321e 100644 --- a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h +++ b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef MSP430TARGETASMINFO_H -#define MSP430TARGETASMINFO_H +#ifndef LLVM_LIB_TARGET_MSP430_MCTARGETDESC_MSP430MCASMINFO_H +#define LLVM_LIB_TARGET_MSP430_MCTARGETDESC_MSP430MCASMINFO_H #include "llvm/MC/MCAsmInfoELF.h" diff --git a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.h b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.h index 7f3505ca551..586f5d991c9 100644 --- a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.h +++ b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.h @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef MSP430MCTARGETDESC_H -#define MSP430MCTARGETDESC_H +#ifndef LLVM_LIB_TARGET_MSP430_MCTARGETDESC_MSP430MCTARGETDESC_H +#define LLVM_LIB_TARGET_MSP430_MCTARGETDESC_MSP430MCTARGETDESC_H namespace llvm { class Target; diff --git a/llvm/lib/Target/MSP430/MSP430.h b/llvm/lib/Target/MSP430/MSP430.h index 4574ce5f98b..796f2523312 100644 --- a/llvm/lib/Target/MSP430/MSP430.h +++ b/llvm/lib/Target/MSP430/MSP430.h @@ -12,8 +12,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_TARGET_MSP430_H -#define LLVM_TARGET_MSP430_H +#ifndef LLVM_LIB_TARGET_MSP430_MSP430_H +#define LLVM_LIB_TARGET_MSP430_MSP430_H #include "MCTargetDesc/MSP430MCTargetDesc.h" #include "llvm/Target/TargetMachine.h" diff --git a/llvm/lib/Target/MSP430/MSP430FrameLowering.h b/llvm/lib/Target/MSP430/MSP430FrameLowering.h index fadfeedd185..1941af26e85 100644 --- a/llvm/lib/Target/MSP430/MSP430FrameLowering.h +++ b/llvm/lib/Target/MSP430/MSP430FrameLowering.h @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef MSP430_FRAMEINFO_H -#define MSP430_FRAMEINFO_H +#ifndef LLVM_LIB_TARGET_MSP430_MSP430FRAMELOWERING_H +#define LLVM_LIB_TARGET_MSP430_MSP430FRAMELOWERING_H #include "MSP430.h" #include "llvm/Target/TargetFrameLowering.h" diff --git a/llvm/lib/Target/MSP430/MSP430ISelLowering.h b/llvm/lib/Target/MSP430/MSP430ISelLowering.h index 3e2f344aeb5..073ddc91162 100644 --- a/llvm/lib/Target/MSP430/MSP430ISelLowering.h +++ b/llvm/lib/Target/MSP430/MSP430ISelLowering.h @@ -12,8 +12,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_TARGET_MSP430_ISELLOWERING_H -#define LLVM_TARGET_MSP430_ISELLOWERING_H +#ifndef LLVM_LIB_TARGET_MSP430_MSP430ISELLOWERING_H +#define LLVM_LIB_TARGET_MSP430_MSP430ISELLOWERING_H #include "MSP430.h" #include "llvm/CodeGen/SelectionDAG.h" @@ -170,4 +170,4 @@ namespace llvm { }; } // namespace llvm -#endif // LLVM_TARGET_MSP430_ISELLOWERING_H +#endif diff --git a/llvm/lib/Target/MSP430/MSP430InstrInfo.h b/llvm/lib/Target/MSP430/MSP430InstrInfo.h index e6baaefe484..f9b25b63962 100644 --- a/llvm/lib/Target/MSP430/MSP430InstrInfo.h +++ b/llvm/lib/Target/MSP430/MSP430InstrInfo.h @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_TARGET_MSP430INSTRINFO_H -#define LLVM_TARGET_MSP430INSTRINFO_H +#ifndef LLVM_LIB_TARGET_MSP430_MSP430INSTRINFO_H +#define LLVM_LIB_TARGET_MSP430_MSP430INSTRINFO_H #include "MSP430RegisterInfo.h" #include "llvm/Target/TargetInstrInfo.h" diff --git a/llvm/lib/Target/MSP430/MSP430MCInstLower.h b/llvm/lib/Target/MSP430/MSP430MCInstLower.h index 794aa56bf04..ebd639744bc 100644 --- a/llvm/lib/Target/MSP430/MSP430MCInstLower.h +++ b/llvm/lib/Target/MSP430/MSP430MCInstLower.h @@ -7,8 +7,8 @@ // //===----------------------------------------------------------------------===// -#ifndef MSP430_MCINSTLOWER_H -#define MSP430_MCINSTLOWER_H +#ifndef LLVM_LIB_TARGET_MSP430_MSP430MCINSTLOWER_H +#define LLVM_LIB_TARGET_MSP430_MSP430MCINSTLOWER_H #include "llvm/Support/Compiler.h" diff --git a/llvm/lib/Target/MSP430/MSP430MachineFunctionInfo.h b/llvm/lib/Target/MSP430/MSP430MachineFunctionInfo.h index d1697f478cc..fcc5f5b8860 100644 --- a/llvm/lib/Target/MSP430/MSP430MachineFunctionInfo.h +++ b/llvm/lib/Target/MSP430/MSP430MachineFunctionInfo.h @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef MSP430MACHINEFUNCTIONINFO_H -#define MSP430MACHINEFUNCTIONINFO_H +#ifndef LLVM_LIB_TARGET_MSP430_MSP430MACHINEFUNCTIONINFO_H +#define LLVM_LIB_TARGET_MSP430_MSP430MACHINEFUNCTIONINFO_H #include "llvm/CodeGen/MachineFunction.h" diff --git a/llvm/lib/Target/MSP430/MSP430RegisterInfo.h b/llvm/lib/Target/MSP430/MSP430RegisterInfo.h index cb0196134a8..3f88a696717 100644 --- a/llvm/lib/Target/MSP430/MSP430RegisterInfo.h +++ b/llvm/lib/Target/MSP430/MSP430RegisterInfo.h @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_TARGET_MSP430REGISTERINFO_H -#define LLVM_TARGET_MSP430REGISTERINFO_H +#ifndef LLVM_LIB_TARGET_MSP430_MSP430REGISTERINFO_H +#define LLVM_LIB_TARGET_MSP430_MSP430REGISTERINFO_H #include "llvm/Target/TargetRegisterInfo.h" @@ -44,4 +44,4 @@ public: } // end namespace llvm -#endif // LLVM_TARGET_MSP430REGISTERINFO_H +#endif diff --git a/llvm/lib/Target/MSP430/MSP430SelectionDAGInfo.h b/llvm/lib/Target/MSP430/MSP430SelectionDAGInfo.h index cb04adc0de1..61a6b19111d 100644 --- a/llvm/lib/Target/MSP430/MSP430SelectionDAGInfo.h +++ b/llvm/lib/Target/MSP430/MSP430SelectionDAGInfo.h @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef MSP430SELECTIONDAGINFO_H -#define MSP430SELECTIONDAGINFO_H +#ifndef LLVM_LIB_TARGET_MSP430_MSP430SELECTIONDAGINFO_H +#define LLVM_LIB_TARGET_MSP430_MSP430SELECTIONDAGINFO_H #include "llvm/Target/TargetSelectionDAGInfo.h" diff --git a/llvm/lib/Target/MSP430/MSP430Subtarget.h b/llvm/lib/Target/MSP430/MSP430Subtarget.h index 58df6501c1e..d1845db252d 100644 --- a/llvm/lib/Target/MSP430/MSP430Subtarget.h +++ b/llvm/lib/Target/MSP430/MSP430Subtarget.h @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_TARGET_MSP430_SUBTARGET_H -#define LLVM_TARGET_MSP430_SUBTARGET_H +#ifndef LLVM_LIB_TARGET_MSP430_MSP430SUBTARGET_H +#define LLVM_LIB_TARGET_MSP430_MSP430SUBTARGET_H #include "MSP430FrameLowering.h" #include "MSP430InstrInfo.h" diff --git a/llvm/lib/Target/MSP430/MSP430TargetMachine.h b/llvm/lib/Target/MSP430/MSP430TargetMachine.h index a7db5c99fda..5c73c831f5e 100644 --- a/llvm/lib/Target/MSP430/MSP430TargetMachine.h +++ b/llvm/lib/Target/MSP430/MSP430TargetMachine.h @@ -12,8 +12,8 @@ //===----------------------------------------------------------------------===// -#ifndef LLVM_TARGET_MSP430_TARGETMACHINE_H -#define LLVM_TARGET_MSP430_TARGETMACHINE_H +#ifndef LLVM_LIB_TARGET_MSP430_MSP430TARGETMACHINE_H +#define LLVM_LIB_TARGET_MSP430_MSP430TARGETMACHINE_H #include "MSP430Subtarget.h" #include "llvm/Target/TargetFrameLowering.h" @@ -40,4 +40,4 @@ public: } // end namespace llvm -#endif // LLVM_TARGET_MSP430_TARGETMACHINE_H +#endif |