diff options
Diffstat (limited to 'llvm/lib/Transforms/Utils/NameAnonFunctions.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/NameAnonFunctions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/NameAnonFunctions.cpp b/llvm/lib/Transforms/Utils/NameAnonFunctions.cpp index c4f3839d848..6629ab85510 100644 --- a/llvm/lib/Transforms/Utils/NameAnonFunctions.cpp +++ b/llvm/lib/Transforms/Utils/NameAnonFunctions.cpp @@ -19,6 +19,7 @@ using namespace llvm; +namespace { // Compute a "unique" hash for the module based on the name of the public // functions. class ModuleHasher { @@ -57,6 +58,7 @@ public: return TheHash; } }; +} // end anonymous namespace // Rename all the anon functions in the module bool llvm::nameUnamedFunctions(Module &M) { |