From 525f89b108f55bc3d5fe00a9daf0f1157a335979 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Mon, 3 Jun 2019 09:38:48 +0000 Subject: [PATCH] Include what you use in HexagonAsmParser.cpp HexagonAsmParser.cpp was not using any APIs from Hexagon.h. Doing so is problematic from include-what-you-use perspective, but it is also a layering issue (it creates a dependency cycle between the primary Hexagon target library and the AsmParser library). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362370 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp b/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp index 9a7900ccc2f..0881bf841f9 100644 --- a/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp +++ b/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp @@ -8,7 +8,6 @@ #define DEBUG_TYPE "mcasmparser" -#include "Hexagon.h" #include "HexagonTargetStreamer.h" #include "MCTargetDesc/HexagonMCChecker.h" #include "MCTargetDesc/HexagonMCELFStreamer.h" -- 2.40.0