Commit 7a29b0b5 authored by Kazu Hirata's avatar Kazu Hirata
Browse files

[llvm] Fix header guards (NFC)

Identified with llvm-header-guard.
parent 1a5dea9e
...@@ -40,4 +40,4 @@ private: ...@@ -40,4 +40,4 @@ private:
}; };
} // namespace llvm } // namespace llvm
#endif // defined(LLVM_HAVE_TF_API) #endif // defined(LLVM_HAVE_TF_API)
#endif // defined(LLVM_ANALYSIS_NOINFERENCEMODELRUNNER_H) #endif // LLVM_ANALYSIS_NOINFERENCEMODELRUNNER_H
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
// Only inference is supported. // Only inference is supported.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#ifndef LLVM_ANALYSIS_RELEASEMODEMODELRUNNER_H
#define LLVM_ANALYSIS_RELEASEMODEMODELRUNNER_H
#include "llvm/Analysis/MLModelRunner.h" #include "llvm/Analysis/MLModelRunner.h"
#include <memory> #include <memory>
...@@ -70,3 +74,5 @@ private: ...@@ -70,3 +74,5 @@ private:
std::unique_ptr<TGen> CompiledModel; std::unique_ptr<TGen> CompiledModel;
}; };
} // namespace llvm } // namespace llvm
#endif // LLVM_ANALYSIS_RELEASEMODEMODELRUNNER_H
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#ifndef DEMANGLE_ITANIUMDEMANGLE_H #ifndef LLVM_DEMANGLE_ITANIUMDEMANGLE_H
#define DEMANGLE_ITANIUMDEMANGLE_H #define LLVM_DEMANGLE_ITANIUMDEMANGLE_H
// FIXME: (possibly) incomplete list of features that clang mangles that this // FIXME: (possibly) incomplete list of features that clang mangles that this
// file does not yet support: // file does not yet support:
...@@ -5749,4 +5749,4 @@ struct ManglingParser : AbstractManglingParser<ManglingParser<Alloc>, Alloc> { ...@@ -5749,4 +5749,4 @@ struct ManglingParser : AbstractManglingParser<ManglingParser<Alloc>, Alloc> {
DEMANGLE_NAMESPACE_END DEMANGLE_NAMESPACE_END
#endif // DEMANGLE_ITANIUMDEMANGLE_H #endif // LLVM_DEMANGLE_ITANIUMDEMANGLE_H
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#ifndef DEMANGLE_STRINGVIEW_H #ifndef LLVM_DEMANGLE_STRINGVIEW_H
#define DEMANGLE_STRINGVIEW_H #define LLVM_DEMANGLE_STRINGVIEW_H
#include "DemangleConfig.h" #include "DemangleConfig.h"
#include <cassert> #include <cassert>
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#ifndef DEMANGLE_UTILITY_H #ifndef LLVM_DEMANGLE_UTILITY_H
#define DEMANGLE_UTILITY_H #define LLVM_DEMANGLE_UTILITY_H
#include "StringView.h" #include "StringView.h"
#include <array> #include <array>
......
#ifndef MEMPROF_DATA_INC #ifndef LLVM_PROFILEDATA_MEMPROFDATA_INC
#define MEMPROF_DATA_INC #define LLVM_PROFILEDATA_MEMPROFDATA_INC
/*===-- MemProfData.inc - MemProf profiling runtime structures -*- C++ -*-=== *\ /*===-- MemProfData.inc - MemProf profiling runtime structures -*- C++ -*-=== *\
|* |*
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment