diff options
Diffstat (limited to 'clang/lib/GR/PlistDiagnostics.cpp')
| -rw-r--r-- | clang/lib/GR/PlistDiagnostics.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/GR/PlistDiagnostics.cpp b/clang/lib/GR/PlistDiagnostics.cpp index 5b91f6e78ec..35a46bfeede 100644 --- a/clang/lib/GR/PlistDiagnostics.cpp +++ b/clang/lib/GR/PlistDiagnostics.cpp @@ -21,6 +21,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallVector.h" using namespace clang; +using namespace GR; using llvm::cast; typedef llvm::DenseMap<FileID, unsigned> FIDMap; @@ -97,7 +98,7 @@ PlistDiagnostics::PlistDiagnostics(const std::string& output, : OutputFile(output), LangOpts(LO), SubPD(subPD), flushed(false) {} PathDiagnosticClient* -clang::createPlistDiagnosticClient(const std::string& s, const Preprocessor &PP, +GR::createPlistDiagnosticClient(const std::string& s, const Preprocessor &PP, PathDiagnosticClient *subPD) { return new PlistDiagnostics(s, PP.getLangOptions(), subPD); } |

