summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2015-12-18 02:27:52 +0000
committerVedant Kumar <vsk@apple.com>2015-12-18 02:27:52 +0000
commita1e51fd96828e52ab8c79fc0393bb098595a7700 (patch)
treef43a33648c44d1ad73eabe1ac07df7895520969a /llvm/include
parent277dc3f4d551be461420b0d0bd5b2b312368c6a5 (diff)
downloadbcm5719-llvm-a1e51fd96828e52ab8c79fc0393bb098595a7700.tar.gz
bcm5719-llvm-a1e51fd96828e52ab8c79fc0393bb098595a7700.zip
[Option] Introduce Arg::print(raw_ostream&) and use llvm::dbgs
llvm-svn: 255977
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Option/Arg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/Option/Arg.h b/llvm/include/llvm/Option/Arg.h
index e1b72b6267c..f56ef080dcf 100644
--- a/llvm/include/llvm/Option/Arg.h
+++ b/llvm/include/llvm/Option/Arg.h
@@ -18,6 +18,7 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Option/Option.h"
+#include "llvm/Support/raw_ostream.h"
#include <string>
namespace llvm {
@@ -113,6 +114,8 @@ public:
/// when rendered as a input (e.g., Xlinker).
void renderAsInput(const ArgList &Args, ArgStringList &Output) const;
+ void print(raw_ostream &OS) const;
+
void dump() const;
/// \brief Return a formatted version of the argument and
OpenPOWER on IntegriCloud