mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215558 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_IR_ASMANNOTATIONWRITER_H
|
||||
#define LLVM_IR_ASMANNOTATIONWRITER_H
|
||||
#ifndef LLVM_IR_ASSEMBLYANNOTATIONWRITER_H
|
||||
#define LLVM_IR_ASSEMBLYANNOTATIONWRITER_H
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@@ -29,8 +29,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_SUPPORT_CONSTANTRANGE_H
|
||||
#define LLVM_SUPPORT_CONSTANTRANGE_H
|
||||
#ifndef LLVM_IR_CONSTANTRANGE_H
|
||||
#define LLVM_IR_CONSTANTRANGE_H
|
||||
|
||||
#include "llvm/ADT/APInt.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
|
@@ -12,8 +12,8 @@
|
||||
// Diagnostics reporting is still done as part of the LLVMContext.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_SUPPORT_DIAGNOSTICINFO_H
|
||||
#define LLVM_SUPPORT_DIAGNOSTICINFO_H
|
||||
#ifndef LLVM_IR_DIAGNOSTICINFO_H
|
||||
#define LLVM_IR_DIAGNOSTICINFO_H
|
||||
|
||||
#include "llvm-c/Core.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
|
@@ -13,8 +13,8 @@
|
||||
// on their needs.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_SUPPORT_DIAGNOSTICPRINTER_H
|
||||
#define LLVM_SUPPORT_DIAGNOSTICPRINTER_H
|
||||
#ifndef LLVM_IR_DIAGNOSTICPRINTER_H
|
||||
#define LLVM_IR_DIAGNOSTICPRINTER_H
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@@ -16,8 +16,8 @@
|
||||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_IR_IR_PRINTING_PASSES_H
|
||||
#define LLVM_IR_IR_PRINTING_PASSES_H
|
||||
#ifndef LLVM_IR_IRPRINTINGPASSES_H
|
||||
#define LLVM_IR_IRPRINTINGPASSES_H
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include <string>
|
||||
|
@@ -11,8 +11,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_PASSMANAGERS_H
|
||||
#define LLVM_PASSMANAGERS_H
|
||||
#ifndef LLVM_IR_LEGACYPASSMANAGERS_H
|
||||
#define LLVM_IR_LEGACYPASSMANAGERS_H
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
|
@@ -11,8 +11,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TARGET_MANGLER_H
|
||||
#define LLVM_TARGET_MANGLER_H
|
||||
#ifndef LLVM_IR_MANGLER_H
|
||||
#define LLVM_IR_MANGLER_H
|
||||
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
@@ -66,4 +66,4 @@ public:
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif // LLVM_TARGET_MANGLER_H
|
||||
#endif
|
||||
|
@@ -35,8 +35,8 @@
|
||||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_IR_PASS_MANAGER_H
|
||||
#define LLVM_IR_PASS_MANAGER_H
|
||||
#ifndef LLVM_IR_PASSMANAGER_H
|
||||
#define LLVM_IR_PASSMANAGER_H
|
||||
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
|
@@ -11,14 +11,14 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_IR_PREDITERATORCACHE_H
|
||||
#define LLVM_IR_PREDITERATORCACHE_H
|
||||
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/IR/CFG.h"
|
||||
#include "llvm/Support/Allocator.h"
|
||||
|
||||
#ifndef LLVM_IR_PREDITERATORCACHE_H
|
||||
#define LLVM_IR_PREDITERATORCACHE_H
|
||||
|
||||
namespace llvm {
|
||||
|
||||
/// PredIteratorCache - This class is an extremely trivial cache for
|
||||
|
Reference in New Issue
Block a user