From 5adf6a24e1c8bd977e1f589afbe5c3ee7e4510bb Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Tue, 23 Jun 2020 12:49:11 +0100 Subject: [PATCH] ProfileSummaryInfoTest.cpp - fix implicit CommandLine.h dependency. NFC. ProfileSummaryInfoTest references cl::opt but don't include CommandLine.h. --- llvm/unittests/Analysis/ProfileSummaryInfoTest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/unittests/Analysis/ProfileSummaryInfoTest.cpp b/llvm/unittests/Analysis/ProfileSummaryInfoTest.cpp index cbd2236..f36d3ba 100644 --- a/llvm/unittests/Analysis/ProfileSummaryInfoTest.cpp +++ b/llvm/unittests/Analysis/ProfileSummaryInfoTest.cpp @@ -17,6 +17,7 @@ #include "llvm/IR/LLVMContext.h" #include "llvm/IR/MDBuilder.h" #include "llvm/IR/Module.h" +#include "llvm/Support/CommandLine.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/FormatVariadic.h" #include "llvm/Support/SourceMgr.h" -- 2.7.4