[llvm] 0acd22b - StatepointLowering.cpp - fix implicit CommandLine.h dependency. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 01:48:34 PDT 2020


Author: Simon Pilgrim
Date: 2020-06-23T09:43:39+01:00
New Revision: 0acd22b8fb31cc7d1d38a103d881304964df537f

URL: https://github.com/llvm/llvm-project/commit/0acd22b8fb31cc7d1d38a103d881304964df537f
DIFF: https://github.com/llvm/llvm-project/commit/0acd22b8fb31cc7d1d38a103d881304964df537f.diff

LOG: StatepointLowering.cpp - fix implicit CommandLine.h dependency. NFC.

StatepointLowering defines a cl::opt but don't include CommandLine.h.

Added: 
    

Modified: 
    llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
index a55c7c8189a0..20aae87531ad 100644
--- a/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
@@ -42,6 +42,7 @@
 #include "llvm/IR/Statepoint.h"
 #include "llvm/IR/Type.h"
 #include "llvm/Support/Casting.h"
+#include "llvm/Support/CommandLine.h"
 #include "llvm/Support/MachineValueType.h"
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/Target/TargetOptions.h"


        


More information about the llvm-commits mailing list