1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

[llvm] Fix header guards (NFC)

Identified with llvm-header-guard.
This commit is contained in:
Kazu Hirata 2021-02-21 19:58:05 -08:00
parent 83ddc1026f
commit 64140f094e
5 changed files with 12 additions and 12 deletions

View File

@ -7,8 +7,8 @@
|* *|
|*===----------------------------------------------------------------------===*/
#ifndef LLVM_DISASSEMBLER_TYPES_H
#define LLVM_DISASSEMBLER_TYPES_H
#ifndef LLVM_C_DISASSEMBLERTYPES_H
#define LLVM_C_DISASSEMBLERTYPES_H
#include "llvm-c/DataTypes.h"
#ifdef __cplusplus

View File

@ -11,8 +11,8 @@
|* *|
\*===----------------------------------------------------------------------===*/
#ifndef LLVM_C_ERROR_HANDLING_H
#define LLVM_C_ERROR_HANDLING_H
#ifndef LLVM_C_ERRORHANDLING_H
#define LLVM_C_ERRORHANDLING_H
#include "llvm-c/ExternC.h"

View File

@ -11,8 +11,8 @@
|* *|
\*===----------------------------------------------------------------------===*/
#ifndef LLVM_C_EXTERN_C_H
#define LLVM_C_EXTERN_C_H
#ifndef LLVM_C_EXTERNC_H
#define LLVM_C_EXTERNC_H
#ifdef __clang__
#define LLVM_C_STRICT_PROTOTYPES_BEGIN \

View File

@ -12,8 +12,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_TRANSFORMS_UTILS_SAMPLEPROFILELOADERIMPL_H
#define LLVM_TRANSFORMS_UTILS_SAMPLEPROFILELOADERIMPL_H
#ifndef LLVM_TRANSFORMS_UTILS_SAMPLEPROFILELOADERBASEIMPL_H
#define LLVM_TRANSFORMS_UTILS_SAMPLEPROFILELOADERBASEIMPL_H
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
@ -855,4 +855,4 @@ void SampleProfileLoaderBaseImpl::computeDominanceAndLoopInfo(Function &F) {
#undef DEBUG_TYPE
} // namespace llvm
#endif // LLVM_TRANSFORMS_UTILS_SAMPLEPROFILELOADERIMPL_H
#endif // LLVM_TRANSFORMS_UTILS_SAMPLEPROFILELOADERBASEIMPL_H

View File

@ -12,8 +12,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_TRANSFORMS_UTILS_SAMPLEPROFILELOADERUTIL_H
#define LLVM_TRANSFORMS_UTILS_SAMPLEPROFILELOADERUTIL_H
#ifndef LLVM_TRANSFORMS_UTILS_SAMPLEPROFILELOADERBASEUTIL_H
#define LLVM_TRANSFORMS_UTILS_SAMPLEPROFILELOADERBASEUTIL_H
#include "llvm/ADT/DenseMap.h"
#include "llvm/Analysis/ProfileSummaryInfo.h"
@ -95,4 +95,4 @@ bool callsiteIsHot(const FunctionSamples *CallsiteFS, ProfileSummaryInfo *PSI,
} // end of namespace sampleprofutil
} // end of namespace llvm
#endif // LLVM_TRANSFORMS_UTILS_SAMPLEPROFILELOADERUTIL_H
#endif // LLVM_TRANSFORMS_UTILS_SAMPLEPROFILELOADERBASEUTIL_H