diff options
Diffstat (limited to 'COFF/MinGW.h')
-rw-r--r-- | COFF/MinGW.h | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/COFF/MinGW.h b/COFF/MinGW.h index f9c5e3e5c2cc..578a277561ad 100644 --- a/COFF/MinGW.h +++ b/COFF/MinGW.h @@ -1,9 +1,8 @@ //===- MinGW.h --------------------------------------------------*- C++ -*-===// // -// The LLVM Linker -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// @@ -23,20 +22,18 @@ class AutoExporter { public: AutoExporter(); - void initSymbolExcludes(); - - void addWholeArchive(StringRef Path); + void addWholeArchive(StringRef path); - llvm::StringSet<> ExcludeSymbols; - llvm::StringSet<> ExcludeSymbolPrefixes; - llvm::StringSet<> ExcludeSymbolSuffixes; - llvm::StringSet<> ExcludeLibs; - llvm::StringSet<> ExcludeObjects; + llvm::StringSet<> excludeSymbols; + llvm::StringSet<> excludeSymbolPrefixes; + llvm::StringSet<> excludeSymbolSuffixes; + llvm::StringSet<> excludeLibs; + llvm::StringSet<> excludeObjects; - bool shouldExport(Defined *Sym) const; + bool shouldExport(Defined *sym) const; }; -void writeDefFile(StringRef Name); +void writeDefFile(StringRef name); } // namespace coff } // namespace lld |