forked from OSchip/llvm-project
[llvm] Fix header guards (NFC)
Identified with llvm-header-guard.
This commit is contained in:
parent
547e3cba7d
commit
c13a09a462
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_ANALYSIS_BASICBLOCKSECTIONSINFO_H
|
||||
#define LLVM_ANALYSIS_BASICBLOCKSECTIONSINFO_H
|
||||
#ifndef LLVM_CODEGEN_BASICBLOCKSECTIONSPROFILEREADER_H
|
||||
#define LLVM_CODEGEN_BASICBLOCKSECTIONSPROFILEREADER_H
|
||||
|
||||
#include "llvm/ADT/Optional.h"
|
||||
#include "llvm/ADT/SmallSet.h"
|
||||
|
@ -106,4 +106,4 @@ ImmutablePass *
|
|||
createBasicBlockSectionsProfileReaderPass(const MemoryBuffer *Buf);
|
||||
|
||||
} // namespace llvm
|
||||
#endif // LLVM_ANALYSIS_BASICBLOCKSECTIONSINFO_H
|
||||
#endif // LLVM_CODEGEN_BASICBLOCKSECTIONSPROFILEREADER_H
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_SUPPORT_HTTP_SERVER_H
|
||||
#define LLVM_SUPPORT_HTTP_SERVER_H
|
||||
#ifndef LLVM_DEBUGINFOD_HTTPSERVER_H
|
||||
#define LLVM_DEBUGINFOD_HTTPSERVER_H
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/Support/Error.h"
|
||||
|
@ -120,4 +120,4 @@ public:
|
|||
};
|
||||
} // end namespace llvm
|
||||
|
||||
#endif // LLVM_SUPPORT_HTTP_SERVER_H
|
||||
#endif // LLVM_DEBUGINFOD_HTTPSERVER_H
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef DEMANGLE_ITANIUMDEMANGLE_H
|
||||
#define DEMANGLE_ITANIUMDEMANGLE_H
|
||||
#ifndef LLVM_DEMANGLE_ITANIUMDEMANGLE_H
|
||||
#define LLVM_DEMANGLE_ITANIUMDEMANGLE_H
|
||||
|
||||
#include "DemangleConfig.h"
|
||||
#include "StringView.h"
|
||||
|
@ -5477,4 +5477,4 @@ struct ManglingParser : AbstractManglingParser<ManglingParser<Alloc>, Alloc> {
|
|||
|
||||
DEMANGLE_NAMESPACE_END
|
||||
|
||||
#endif // DEMANGLE_ITANIUMDEMANGLE_H
|
||||
#endif // LLVM_DEMANGLE_ITANIUMDEMANGLE_H
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef DEMANGLE_STRINGVIEW_H
|
||||
#define DEMANGLE_STRINGVIEW_H
|
||||
#ifndef LLVM_DEMANGLE_STRINGVIEW_H
|
||||
#define LLVM_DEMANGLE_STRINGVIEW_H
|
||||
|
||||
#include "DemangleConfig.h"
|
||||
#include <cassert>
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef DEMANGLE_UTILITY_H
|
||||
#define DEMANGLE_UTILITY_H
|
||||
#ifndef LLVM_DEMANGLE_UTILITY_H
|
||||
#define LLVM_DEMANGLE_UTILITY_H
|
||||
|
||||
#include "StringView.h"
|
||||
#include <array>
|
||||
|
|
|
@ -121,4 +121,4 @@ public:
|
|||
} // namespace object
|
||||
} // namespace llvm
|
||||
|
||||
#endif // LLVM_OBJECT_DXCONTAINERFILE_H
|
||||
#endif // LLVM_OBJECT_DXCONTAINER_H
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_BINARYFORMAT_OFFLOADING_H
|
||||
#define LLVM_BINARYFORMAT_OFFLOADING_H
|
||||
#ifndef LLVM_OBJECT_OFFLOADBINARY_H
|
||||
#define LLVM_OBJECT_OFFLOADBINARY_H
|
||||
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
|
|
@ -76,4 +76,4 @@ template <> struct MappingTraits<OffloadYAML::Binary::Member> {
|
|||
} // end namespace yaml
|
||||
} // end namespace llvm
|
||||
|
||||
#endif // LLVM_OBJECTYAML_ARCHIVEYAML_H
|
||||
#endif // LLVM_OBJECTYAML_OFFLOADYAML_H
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TRANSFORMS_SCALAR_LOWERATOMIC_H
|
||||
#define LLVM_TRANSFORMS_SCALAR_LOWERATOMIC_H
|
||||
#ifndef LLVM_TRANSFORMS_UTILS_LOWERATOMIC_H
|
||||
#define LLVM_TRANSFORMS_UTILS_LOWERATOMIC_H
|
||||
|
||||
#include "llvm/IR/Instructions.h"
|
||||
|
||||
|
@ -34,4 +34,4 @@ Value *buildAtomicRMWValue(AtomicRMWInst::BinOp Op, IRBuilderBase &Builder,
|
|||
Value *Loaded, Value *Inc);
|
||||
}
|
||||
|
||||
#endif // LLVM_TRANSFORMS_SCALAR_LOWERATOMIC_H
|
||||
#endif // LLVM_TRANSFORMS_UTILS_LOWERATOMIC_H
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TRANSFORMS_UTILS_MISEXPECT_H
|
||||
#define LLVM_TRANSFORMS_UTILS_MISEXPECT_H
|
||||
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/IR/Function.h"
|
||||
#include "llvm/IR/Instructions.h"
|
||||
|
@ -75,3 +78,5 @@ void checkExpectAnnotations(Instruction &I,
|
|||
|
||||
} // namespace misexpect
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_SUPPORT_MSVCPATHS_H
|
||||
#define LLVM_SUPPORT_MSVCPATHS_H
|
||||
#ifndef LLVM_WINDOWSDRIVER_MSVCPATHS_H
|
||||
#define LLVM_WINDOWSDRIVER_MSVCPATHS_H
|
||||
|
||||
#include "llvm/ADT/Optional.h"
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
|
|
Loading…
Reference in New Issue