forked from OSchip/llvm-project
[llvm] Fix header guards (NFC)
Identified with llvm-header-guard.
This commit is contained in:
parent
f984a805f3
commit
eec96db184
|
@ -11,8 +11,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_IR_OBJCARCUTIL_H
|
||||
#define LLVM_IR_OBJCARCUTIL_H
|
||||
#ifndef LLVM_ANALYSIS_OBJCARCUTIL_H
|
||||
#define LLVM_ANALYSIS_OBJCARCUTIL_H
|
||||
|
||||
#include "llvm/IR/InstrTypes.h"
|
||||
#include "llvm/IR/LLVMContext.h"
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_LIB_ASMPARSER_LLLEXER_H
|
||||
#define LLVM_LIB_ASMPARSER_LLLEXER_H
|
||||
#ifndef LLVM_ASMPARSER_LLLEXER_H
|
||||
#define LLVM_ASMPARSER_LLLEXER_H
|
||||
|
||||
#include "LLToken.h"
|
||||
#include "llvm/ADT/APFloat.h"
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_LIB_ASMPARSER_LLPARSER_H
|
||||
#define LLVM_LIB_ASMPARSER_LLPARSER_H
|
||||
#ifndef LLVM_ASMPARSER_LLPARSER_H
|
||||
#define LLVM_ASMPARSER_LLPARSER_H
|
||||
|
||||
#include "LLLexer.h"
|
||||
#include "llvm/ADT/Optional.h"
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_LIB_ASMPARSER_LLTOKEN_H
|
||||
#define LLVM_LIB_ASMPARSER_LLTOKEN_H
|
||||
#ifndef LLVM_ASMPARSER_LLTOKEN_H
|
||||
#define LLVM_ASMPARSER_LLTOKEN_H
|
||||
|
||||
namespace llvm {
|
||||
namespace lltok {
|
||||
|
|
|
@ -478,4 +478,4 @@ private:
|
|||
|
||||
} // end namespace llvm
|
||||
|
||||
#endif // define LLVM_CODEGEN_GLOBALISEL_LEGACYLEGALIZERINFO_H
|
||||
#endif // LLVM_CODEGEN_GLOBALISEL_LEGACYLEGALIZERINFO_H
|
||||
|
|
|
@ -35,4 +35,4 @@ void link_ELF_riscv(std::unique_ptr<LinkGraph> G,
|
|||
} // end namespace jitlink
|
||||
} // end namespace llvm
|
||||
|
||||
#endif // LLVM_EXECUTIONENGINE_JITLINK_ELF_RISCV64_H
|
||||
#endif // LLVM_EXECUTIONENGINE_JITLINK_ELF_RISCV_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_EXECUTIONENGINE_ORC_WRAPPERFUNCTIONUTILS_H
|
||||
#define LLVM_EXECUTIONENGINE_ORC_WRAPPERFUNCTIONUTILS_H
|
||||
#ifndef LLVM_EXECUTIONENGINE_ORC_SHARED_WRAPPERFUNCTIONUTILS_H
|
||||
#define LLVM_EXECUTIONENGINE_ORC_SHARED_WRAPPERFUNCTIONUTILS_H
|
||||
|
||||
#include "llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h"
|
||||
#include "llvm/Support/Error.h"
|
||||
|
@ -555,4 +555,4 @@ public:
|
|||
} // end namespace orc
|
||||
} // end namespace llvm
|
||||
|
||||
#endif // LLVM_EXECUTIONENGINE_ORC_WRAPPERFUNCTIONUTILS_H
|
||||
#endif // LLVM_EXECUTIONENGINE_ORC_SHARED_WRAPPERFUNCTIONUTILS_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TEXTAPI_MACHO_ARCHITECTURE_H
|
||||
#define LLVM_TEXTAPI_MACHO_ARCHITECTURE_H
|
||||
#ifndef LLVM_TEXTAPI_ARCHITECTURE_H
|
||||
#define LLVM_TEXTAPI_ARCHITECTURE_H
|
||||
|
||||
#include <cstdint>
|
||||
#include <utility>
|
||||
|
@ -54,4 +54,4 @@ raw_ostream &operator<<(raw_ostream &OS, Architecture Arch);
|
|||
} // end namespace MachO.
|
||||
} // end namespace llvm.
|
||||
|
||||
#endif // LLVM_TEXTAPI_MACHO_ARCHITECTURE_H
|
||||
#endif // LLVM_TEXTAPI_ARCHITECTURE_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TEXTAPI_MACHO_ARCHITECTURESET_H
|
||||
#define LLVM_TEXTAPI_MACHO_ARCHITECTURESET_H
|
||||
#ifndef LLVM_TEXTAPI_ARCHITECTURESET_H
|
||||
#define LLVM_TEXTAPI_ARCHITECTURESET_H
|
||||
|
||||
#include "llvm/TextAPI/Architecture.h"
|
||||
#include <cstddef>
|
||||
|
@ -168,4 +168,4 @@ raw_ostream &operator<<(raw_ostream &OS, ArchitectureSet Set);
|
|||
} // end namespace MachO.
|
||||
} // end namespace llvm.
|
||||
|
||||
#endif // LLVM_TEXTAPI_MACHO_ARCHITECTURESET_H
|
||||
#endif // LLVM_TEXTAPI_ARCHITECTURESET_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TEXTAPI_MACHO_INTERFACEFILE_H
|
||||
#define LLVM_TEXTAPI_MACHO_INTERFACEFILE_H
|
||||
#ifndef LLVM_TEXTAPI_INTERFACEFILE_H
|
||||
#define LLVM_TEXTAPI_INTERFACEFILE_H
|
||||
|
||||
#include "llvm/ADT/BitmaskEnum.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
|
@ -456,4 +456,4 @@ bool operator==(const DenseMapBase<DerivedT, SymbolsMapKey, MachO::Symbol *,
|
|||
} // end namespace MachO.
|
||||
} // end namespace llvm.
|
||||
|
||||
#endif // LLVM_TEXTAPI_MACHO_INTERFACEFILE_H
|
||||
#endif // LLVM_TEXTAPI_INTERFACEFILE_H
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TEXTAPI_MACHO_PACKEDVERSION_H
|
||||
#define LLVM_TEXTAPI_MACHO_PACKEDVERSION_H
|
||||
#ifndef LLVM_TEXTAPI_PACKEDVERSION_H
|
||||
#define LLVM_TEXTAPI_PACKEDVERSION_H
|
||||
|
||||
#include <cstdint>
|
||||
#include <utility>
|
||||
|
@ -64,4 +64,4 @@ inline raw_ostream &operator<<(raw_ostream &OS, const PackedVersion &Version) {
|
|||
} // end namespace MachO.
|
||||
} // end namespace llvm.
|
||||
|
||||
#endif // LLVM_TEXTAPI_MACHO_PACKEDVERSION_H
|
||||
#endif // LLVM_TEXTAPI_PACKEDVERSION_H
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
// Defines the Platforms supported by Tapi and helpers.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLVM_TEXTAPI_MACHO_PLATFORM_H
|
||||
#define LLVM_TEXTAPI_MACHO_PLATFORM_H
|
||||
#ifndef LLVM_TEXTAPI_PLATFORM_H
|
||||
#define LLVM_TEXTAPI_PLATFORM_H
|
||||
|
||||
#include "llvm/ADT/SmallSet.h"
|
||||
#include "llvm/BinaryFormat/MachO.h"
|
||||
|
@ -46,4 +46,4 @@ std::string getOSAndEnvironmentName(PlatformKind Platform,
|
|||
} // end namespace MachO.
|
||||
} // end namespace llvm.
|
||||
|
||||
#endif // LLVM_TEXTAPI_MACHO_PLATFORM_H
|
||||
#endif // LLVM_TEXTAPI_PLATFORM_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TEXTAPI_MACHO_SYMBOL_H
|
||||
#define LLVM_TEXTAPI_MACHO_SYMBOL_H
|
||||
#ifndef LLVM_TEXTAPI_SYMBOL_H
|
||||
#define LLVM_TEXTAPI_SYMBOL_H
|
||||
|
||||
#include "llvm/ADT/BitmaskEnum.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
@ -132,4 +132,4 @@ private:
|
|||
} // end namespace MachO.
|
||||
} // end namespace llvm.
|
||||
|
||||
#endif // LLVM_TEXTAPI_MACHO_SYMBOL_H
|
||||
#endif // LLVM_TEXTAPI_SYMBOL_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TEXTAPI_MACHO_TARGET_H
|
||||
#define LLVM_TEXTAPI_MACHO_TARGET_H
|
||||
#ifndef LLVM_TEXTAPI_TARGET_H
|
||||
#define LLVM_TEXTAPI_TARGET_H
|
||||
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/Support/Error.h"
|
||||
|
@ -67,4 +67,4 @@ raw_ostream &operator<<(raw_ostream &OS, const Target &Target);
|
|||
} // namespace MachO
|
||||
} // namespace llvm
|
||||
|
||||
#endif // LLVM_TEXTAPI_MACHO_TARGET_H
|
||||
#endif // LLVM_TEXTAPI_TARGET_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TEXTAPI_MACHO_TEXTAPIREADER_H
|
||||
#define LLVM_TEXTAPI_MACHO_TEXTAPIREADER_H
|
||||
#ifndef LLVM_TEXTAPI_TEXTAPIREADER_H
|
||||
#define LLVM_TEXTAPI_TEXTAPIREADER_H
|
||||
|
||||
#include "llvm/Support/Error.h"
|
||||
|
||||
|
@ -30,4 +30,4 @@ public:
|
|||
} // end namespace MachO.
|
||||
} // end namespace llvm.
|
||||
|
||||
#endif // LLVM_TEXTAPI_MACHO_TEXTAPIREADER_H
|
||||
#endif // LLVM_TEXTAPI_TEXTAPIREADER_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TEXTAPI_MACHO_TEXTAPIWRITER_H
|
||||
#define LLVM_TEXTAPI_MACHO_TEXTAPIWRITER_H
|
||||
#ifndef LLVM_TEXTAPI_TEXTAPIWRITER_H
|
||||
#define LLVM_TEXTAPI_TEXTAPIWRITER_H
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -28,4 +28,4 @@ public:
|
|||
} // end namespace MachO.
|
||||
} // end namespace llvm.
|
||||
|
||||
#endif // LLVM_TEXTAPI_MACHO_TEXTAPIWRITER_H
|
||||
#endif // LLVM_TEXTAPI_TEXTAPIWRITER_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TOOLS_LLVM_PROFGEN_PROFILEDCALLGRAPH_H
|
||||
#define LLVM_TOOLS_LLVM_PROFGEN_PROFILEDCALLGRAPH_H
|
||||
#ifndef LLVM_TRANSFORMS_IPO_PROFILEDCALLGRAPH_H
|
||||
#define LLVM_TRANSFORMS_IPO_PROFILEDCALLGRAPH_H
|
||||
|
||||
#include "llvm/ADT/GraphTraits.h"
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
|
|
Loading…
Reference in New Issue