[llvm] r362383 - Include what you use in HexagonMCChecker.cpp
Dmitri Gribenko via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 04:14:15 PDT 2019
Author: gribozavr
Date: Mon Jun 3 04:14:15 2019
New Revision: 362383
URL: http://llvm.org/viewvc/llvm-project?rev=362383&view=rev
Log:
Include what you use in HexagonMCChecker.cpp
HexagonMCChecker.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 MCTargetDesc library).
Modified:
llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp
Modified: llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp?rev=362383&r1=362382&r2=362383&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp Mon Jun 3 04:14:15 2019
@@ -12,7 +12,6 @@
//===----------------------------------------------------------------------===//
#include "MCTargetDesc/HexagonMCChecker.h"
-#include "Hexagon.h"
#include "MCTargetDesc/HexagonBaseInfo.h"
#include "MCTargetDesc/HexagonMCInstrInfo.h"
#include "MCTargetDesc/HexagonMCShuffler.h"
More information about the llvm-commits
mailing list