r241309 - Driver: Don't use reserved names. NFC

Justin Bogner mail at justinbogner.com
Thu Jul 2 15:52:04 PDT 2015


Author: bogner
Date: Thu Jul  2 17:52:04 2015
New Revision: 241309

URL: http://llvm.org/viewvc/llvm-project?rev=241309&view=rev
Log:
Driver: Don't use reserved names. NFC

Modified:
    cfe/trunk/include/clang/Driver/Job.h
    cfe/trunk/lib/Driver/Job.cpp

Modified: cfe/trunk/include/clang/Driver/Job.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Job.h?rev=241309&r1=241308&r2=241309&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Job.h (original)
+++ cfe/trunk/include/clang/Driver/Job.h Thu Jul  2 17:52:04 2015
@@ -49,7 +49,7 @@ private:
   JobClass Kind;
 
 protected:
-  Job(JobClass _Kind) : Kind(_Kind) {}
+  Job(JobClass Kind) : Kind(Kind) {}
 public:
   virtual ~Job();
 
@@ -106,8 +106,8 @@ class Command : public Job {
   void writeResponseFile(raw_ostream &OS) const;
 
 public:
-  Command(const Action &_Source, const Tool &_Creator, const char *_Executable,
-          const llvm::opt::ArgStringList &_Arguments);
+  Command(const Action &Source, const Tool &Creator, const char *Executable,
+          const llvm::opt::ArgStringList &Arguments);
 
   void Print(llvm::raw_ostream &OS, const char *Terminator, bool Quote,
              CrashReportInfo *CrashInfo = nullptr) const override;

Modified: cfe/trunk/lib/Driver/Job.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Job.cpp?rev=241309&r1=241308&r2=241309&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Job.cpp (original)
+++ cfe/trunk/lib/Driver/Job.cpp Thu Jul  2 17:52:04 2015
@@ -27,12 +27,10 @@ using llvm::ArrayRef;
 
 Job::~Job() {}
 
-Command::Command(const Action &_Source, const Tool &_Creator,
-                 const char *_Executable,
-                 const ArgStringList &_Arguments)
-    : Job(CommandClass), Source(_Source), Creator(_Creator),
-      Executable(_Executable), Arguments(_Arguments),
-      ResponseFile(nullptr) {}
+Command::Command(const Action &Source, const Tool &Creator,
+                 const char *Executable, const ArgStringList &Arguments)
+    : Job(CommandClass), Source(Source), Creator(Creator),
+      Executable(Executable), Arguments(Arguments), ResponseFile(nullptr) {}
 
 static int skipArgs(const char *Flag, bool HaveCrashVFS) {
   // These flags are all of the form -Flag <Arg> and are treated as two





More information about the cfe-commits mailing list