Use LLVM style variable name (NFC)
authorTeresa Johnson <tejohnson@google.com>
Wed, 16 Dec 2015 21:37:48 +0000 (21:37 +0000)
committerTeresa Johnson <tejohnson@google.com>
Wed, 16 Dec 2015 21:37:48 +0000 (21:37 +0000)
Fixes variable name from r255779.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255824 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gold/gold-plugin.cpp

index 909322f07087b72823aaacd739142b17ac5423a7..b6acea76dc3c8954c16cd3f168ddb323d266dba7 100644 (file)
@@ -75,15 +75,15 @@ struct claimed_file {
 
 /// RAII wrapper to manage opening and releasing of a ld_plugin_input_file.
 struct PluginInputFile {
 
 /// RAII wrapper to manage opening and releasing of a ld_plugin_input_file.
 struct PluginInputFile {
-  void *handle;
+  void *Handle;
   ld_plugin_input_file File;
 
   ld_plugin_input_file File;
 
-  PluginInputFile(void *handle) : handle(handle) {
-    if (get_input_file(handle, &File) != LDPS_OK)
+  PluginInputFile(void *Handle) : Handle(Handle) {
+    if (get_input_file(Handle, &File) != LDPS_OK)
       message(LDPL_FATAL, "Failed to get file information");
   }
   ~PluginInputFile() {
       message(LDPL_FATAL, "Failed to get file information");
   }
   ~PluginInputFile() {
-    if (release_input_file(handle) != LDPS_OK)
+    if (release_input_file(Handle) != LDPS_OK)
       message(LDPL_FATAL, "Failed to release file information");
   }
   ld_plugin_input_file &file() { return File; }
       message(LDPL_FATAL, "Failed to release file information");
   }
   ld_plugin_input_file &file() { return File; }