[llvm] e051187 - llvm-dwp.cpp - fix implicit CommandLine.h dependency. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 04:31:35 PDT 2020
Author: Simon Pilgrim
Date: 2020-06-23T12:29:52+01:00
New Revision: e051187c540b479063911b581cbb5fdff5119a67
URL: https://github.com/llvm/llvm-project/commit/e051187c540b479063911b581cbb5fdff5119a67
DIFF: https://github.com/llvm/llvm-project/commit/e051187c540b479063911b581cbb5fdff5119a67.diff
LOG: llvm-dwp.cpp - fix implicit CommandLine.h dependency. NFC.
llvm-dwp uses cl::opt + cl::list but don't include CommandLine.h.
Added:
Modified:
llvm/tools/llvm-dwp/llvm-dwp.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-dwp/llvm-dwp.cpp b/llvm/tools/llvm-dwp/llvm-dwp.cpp
index 24063c835522..d5ebe5ab0a57 100644
--- a/llvm/tools/llvm-dwp/llvm-dwp.cpp
+++ b/llvm/tools/llvm-dwp/llvm-dwp.cpp
@@ -30,6 +30,7 @@
#include "llvm/MC/MCTargetOptionsCommandFlags.h"
#include "llvm/Object/Decompressor.h"
#include "llvm/Object/ObjectFile.h"
+#include "llvm/Support/CommandLine.h"
#include "llvm/Support/DataExtractor.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
More information about the llvm-commits
mailing list