Skip to content

Commit d799fd1

Browse files
committed
[IRGen] Add a namespace around a file-local class. NFC.
1 parent c84d8c4 commit d799fd1

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)