[llvm] Fix header guards (NFC)

Identified with llvm-header-guard.
This commit is contained in:
Kazu Hirata 2022-01-23 11:07:12 -08:00
parent 1a5dea9e2b
commit 7a29b0b583
6 changed files with 16 additions and 10 deletions

View File

@ -40,4 +40,4 @@ private:
};
} // namespace llvm
#endif // defined(LLVM_HAVE_TF_API)
#endif // defined(LLVM_ANALYSIS_NOINFERENCEMODELRUNNER_H)
#endif // LLVM_ANALYSIS_NOINFERENCEMODELRUNNER_H

View File

@ -10,6 +10,10 @@
// Only inference is supported.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_ANALYSIS_RELEASEMODEMODELRUNNER_H
#define LLVM_ANALYSIS_RELEASEMODEMODELRUNNER_H
#include "llvm/Analysis/MLModelRunner.h"
#include <memory>
@ -70,3 +74,5 @@ private:
std::unique_ptr<TGen> CompiledModel;
};
} // namespace llvm
#endif // LLVM_ANALYSIS_RELEASEMODEMODELRUNNER_H

View File

@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef DEMANGLE_ITANIUMDEMANGLE_H
#define DEMANGLE_ITANIUMDEMANGLE_H
#ifndef LLVM_DEMANGLE_ITANIUMDEMANGLE_H
#define LLVM_DEMANGLE_ITANIUMDEMANGLE_H
// FIXME: (possibly) incomplete list of features that clang mangles that this
// file does not yet support:
@ -5749,4 +5749,4 @@ struct ManglingParser : AbstractManglingParser<ManglingParser<Alloc>, Alloc> {
DEMANGLE_NAMESPACE_END
#endif // DEMANGLE_ITANIUMDEMANGLE_H
#endif // LLVM_DEMANGLE_ITANIUMDEMANGLE_H

View File

@ -10,8 +10,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef DEMANGLE_STRINGVIEW_H
#define DEMANGLE_STRINGVIEW_H
#ifndef LLVM_DEMANGLE_STRINGVIEW_H
#define LLVM_DEMANGLE_STRINGVIEW_H
#include "DemangleConfig.h"
#include <cassert>

View File

@ -10,8 +10,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef DEMANGLE_UTILITY_H
#define DEMANGLE_UTILITY_H
#ifndef LLVM_DEMANGLE_UTILITY_H
#define LLVM_DEMANGLE_UTILITY_H
#include "StringView.h"
#include <array>

View File

@ -1,5 +1,5 @@
#ifndef MEMPROF_DATA_INC
#define MEMPROF_DATA_INC
#ifndef LLVM_PROFILEDATA_MEMPROFDATA_INC
#define LLVM_PROFILEDATA_MEMPROFDATA_INC
/*===-- MemProfData.inc - MemProf profiling runtime structures -*- C++ -*-=== *\
|*
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.