diff options
| author | Teresa Johnson <tejohnson@google.com> | 2015-12-16 21:37:48 +0000 |
|---|---|---|
| committer | Teresa Johnson <tejohnson@google.com> | 2015-12-16 21:37:48 +0000 |
| commit | 031bed291ee7feccd2272efac2f7fce98c8353de (patch) | |
| tree | d03a233b81272c2772f8aadf98e96ee84835ac6f /llvm/tools | |
| parent | 27161302a0c4f912b68ada41f7997e1adbc1c045 (diff) | |
| download | bcm5719-llvm-031bed291ee7feccd2272efac2f7fce98c8353de.tar.gz bcm5719-llvm-031bed291ee7feccd2272efac2f7fce98c8353de.zip | |
Use LLVM style variable name (NFC)
Fixes variable name from r255779.
llvm-svn: 255824
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/gold/gold-plugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index 909322f0708..b6acea76dc3 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/tools/gold/gold-plugin.cpp @@ -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; } |

