Skip to content

Commit effcb42

Browse files
authored
Merge pull request #5086 from jrose-apple/anonymous-namespace
2 parents 9638a1c + d799fd1 commit effcb42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/IRGen/IRGen.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ void swift::performLLVMOptimizations(IRGenOptions &Opts, llvm::Module *Module,
248248
ModulePasses.run(*Module);
249249
}
250250

251+
namespace {
251252
/// An output stream which calculates the MD5 hash of the streamed data.
252253
class MD5Stream : public llvm::raw_ostream {
253254
private:
@@ -269,6 +270,7 @@ class MD5Stream : public llvm::raw_ostream {
269270
Hash.final(Result);
270271
}
271272
};
273+
}
272274

273275
/// Computes the MD5 hash of the llvm \p Module including the compiler version
274276
/// and options which influence the compilation.

0 commit comments

Comments
 (0)