[llvm] 22875b2 - [NFC] Remove some include cycles
Timm Bäder via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 8 05:10:52 PDT 2021
Author: Timm Bäder
Date: 2021-06-08T14:00:39+02:00
New Revision: 22875b2ce3fd8a5cf4f615ed7e91950f613ba9d4
URL: https://github.com/llvm/llvm-project/commit/22875b2ce3fd8a5cf4f615ed7e91950f613ba9d4
DIFF: https://github.com/llvm/llvm-project/commit/22875b2ce3fd8a5cf4f615ed7e91950f613ba9d4.diff
LOG: [NFC] Remove some include cycles
These files include themselves directly.
Added:
Modified:
clang/lib/AST/Interp/Context.h
llvm/include/llvm/ExecutionEngine/JITLink/ELF.h
Removed:
################################################################################
diff --git a/clang/lib/AST/Interp/Context.h b/clang/lib/AST/Interp/Context.h
index e4d831cbb9912..e8238eea716a1 100644
--- a/clang/lib/AST/Interp/Context.h
+++ b/clang/lib/AST/Interp/Context.h
@@ -16,7 +16,6 @@
#ifndef LLVM_CLANG_AST_INTERP_CONTEXT_H
#define LLVM_CLANG_AST_INTERP_CONTEXT_H
-#include "Context.h"
#include "InterpStack.h"
#include "clang/AST/APValue.h"
#include "llvm/ADT/PointerIntPair.h"
diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/ELF.h b/llvm/include/llvm/ExecutionEngine/JITLink/ELF.h
index 8912f3a2db45b..038591f9add05 100644
--- a/llvm/include/llvm/ExecutionEngine/JITLink/ELF.h
+++ b/llvm/include/llvm/ExecutionEngine/JITLink/ELF.h
@@ -13,7 +13,6 @@
#ifndef LLVM_EXECUTIONENGINE_JITLINK_ELF_H
#define LLVM_EXECUTIONENGINE_JITLINK_ELF_H
-#include "llvm/ExecutionEngine/JITLink/ELF.h"
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
namespace llvm {
More information about the llvm-commits
mailing list