From 51f6096cf80a3a02d20d5f109188088e489d73e4 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 23 Mar 2015 12:30:58 +0000 Subject: Move private classes into anonymous namespaces NFC. llvm-svn: 232944 --- llvm/lib/Support/GraphWriter.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/Support/GraphWriter.cpp') diff --git a/llvm/lib/Support/GraphWriter.cpp b/llvm/lib/Support/GraphWriter.cpp index 054df528474..c0b5513d5a1 100644 --- a/llvm/lib/Support/GraphWriter.cpp +++ b/llvm/lib/Support/GraphWriter.cpp @@ -98,6 +98,7 @@ static bool ExecGraphViewer(StringRef ExecPath, std::vector &args, return false; } +namespace { struct GraphSession { std::string LogBuffer; bool TryFindProgram(StringRef Names, std::string &ProgramPath) { @@ -114,6 +115,7 @@ struct GraphSession { return false; } }; +} // namespace static const char *getProgramName(GraphProgram::Name program) { switch (program) { -- cgit v1.2.3