From 0ca149fce901456eca05ac5244a816303974db03 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Tue, 6 Aug 2013 22:31:59 +0000 Subject: Rename TargetInfo -> LinkingContext. Also change some local variable names: "ti" -> "context" and "_targetInfo" -> "_context". Differential Revision: http://llvm-reviews.chandlerc.com/D1301 llvm-svn: 187823 --- lld/lib/Driver/CoreDriver.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lld/lib/Driver/CoreDriver.cpp') diff --git a/lld/lib/Driver/CoreDriver.cpp b/lld/lib/Driver/CoreDriver.cpp index bc49f6a6209..c0869b790f6 100644 --- a/lld/lib/Driver/CoreDriver.cpp +++ b/lld/lib/Driver/CoreDriver.cpp @@ -8,7 +8,7 @@ //===----------------------------------------------------------------------===// #include "lld/Driver/Driver.h" -#include "lld/ReaderWriter/CoreTargetInfo.h" +#include "lld/ReaderWriter/CoreLinkingContext.h" #include "lld/ReaderWriter/Reader.h" #include "llvm/ADT/ArrayRef.h" @@ -69,16 +69,15 @@ public: namespace lld { bool CoreDriver::link(int argc, const char *argv[], raw_ostream &diagnostics) { - CoreTargetInfo info; + CoreLinkingContext info; if (parse(argc, argv, info)) return true; return Driver::link(info); } - -bool CoreDriver::parse(int argc, const char *argv[], - CoreTargetInfo &info, raw_ostream &diagnostics) { +bool CoreDriver::parse(int argc, const char *argv[], CoreLinkingContext &info, + raw_ostream &diagnostics) { // Parse command line options using CoreOptions.td std::unique_ptr parsedArgs; CoreOptTable table; -- cgit v1.2.3