Put global classes into the appropriate namespace.

Most of the cases belong into an anonymous namespace. No functionality
change intended.

llvm-svn: 251514
8 files changed