[llvm] 5adf6a2 - ProfileSummaryInfoTest.cpp - fix implicit CommandLine.h dependency. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 05:07:36 PDT 2020
Author: Simon Pilgrim
Date: 2020-06-23T13:07:18+01:00
New Revision: 5adf6a24e1c8bd977e1f589afbe5c3ee7e4510bb
URL: https://github.com/llvm/llvm-project/commit/5adf6a24e1c8bd977e1f589afbe5c3ee7e4510bb
DIFF: https://github.com/llvm/llvm-project/commit/5adf6a24e1c8bd977e1f589afbe5c3ee7e4510bb.diff
LOG: ProfileSummaryInfoTest.cpp - fix implicit CommandLine.h dependency. NFC.
ProfileSummaryInfoTest references cl::opt but don't include CommandLine.h.
Added:
Modified:
llvm/unittests/Analysis/ProfileSummaryInfoTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/Analysis/ProfileSummaryInfoTest.cpp b/llvm/unittests/Analysis/ProfileSummaryInfoTest.cpp
index cbd2236e4cb3..f36d3ba99775 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"
More information about the llvm-commits
mailing list