[llvm] r255824 - Use LLVM style variable name (NFC)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 16 13:37:48 PST 2015


Author: tejohnson
Date: Wed Dec 16 15:37:48 2015
New Revision: 255824

URL: http://llvm.org/viewvc/llvm-project?rev=255824&view=rev
Log:
Use LLVM style variable name (NFC)

Fixes variable name from r255779.

Modified:
    llvm/trunk/tools/gold/gold-plugin.cpp

Modified: llvm/trunk/tools/gold/gold-plugin.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/gold-plugin.cpp?rev=255824&r1=255823&r2=255824&view=diff
==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Wed Dec 16 15:37:48 2015
@@ -75,15 +75,15 @@ struct claimed_file {
 
 /// RAII wrapper to manage opening and releasing of a ld_plugin_input_file.
 struct PluginInputFile {
-  void *handle;
+  void *Handle;
   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() {
-    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; }




More information about the llvm-commits mailing list