[lld] r357187 - Make helper functions static. NFC.

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 28 10:18:42 PDT 2019


Author: d0k
Date: Thu Mar 28 10:18:42 2019
New Revision: 357187

URL: http://llvm.org/viewvc/llvm-project?rev=357187&view=rev
Log:
Make helper functions static. NFC.

Modified:
    lld/trunk/wasm/SymbolTable.cpp

Modified: lld/trunk/wasm/SymbolTable.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/SymbolTable.cpp?rev=357187&r1=357186&r2=357187&view=diff
==============================================================================
--- lld/trunk/wasm/SymbolTable.cpp (original)
+++ lld/trunk/wasm/SymbolTable.cpp Thu Mar 28 10:18:42 2019
@@ -132,7 +132,8 @@ static void reportTypeError(const Symbol
 // Check the type of new symbol matches that of the symbol is replacing.
 // Returns true if the function types match, false is there is a singature
 // mismatch.
-bool signatureMatches(FunctionSymbol *Existing, const WasmSignature *NewSig) {
+static bool signatureMatches(FunctionSymbol *Existing,
+                             const WasmSignature *NewSig) {
   if (!NewSig)
     return true;
 




More information about the llvm-commits mailing list