llvm.org GIT mirror llvm / 92d8876
Include what you use in LanaiMCCodeEmitter.cpp LanaiMCCodeEmitter.cpp was not using any APIs from Lanai.h, and was only including it for transitive dependencies. 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 Lanai target library and the MCTargetDesc library). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362394 91177308-0d34-0410-b5e6-96231b3b80d8 Dmitri Gribenko 5 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
99 //
1010 //===----------------------------------------------------------------------===//
1111
12 #include "Lanai.h"
12 #include "LanaiAluCode.h"
1313 #include "MCTargetDesc/LanaiBaseInfo.h"
1414 #include "MCTargetDesc/LanaiFixupKinds.h"
1515 #include "MCTargetDesc/LanaiMCExpr.h"