summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2011-09-25 23:23:43 +0000
committerDavid Blaikie <dblaikie@gmail.com>2011-09-25 23:23:43 +0000
commit9c902b5502fe921137177912ce0f56289e3824b5 (patch)
tree45eacdb31f6821030d5b367eabafdb015526a85f /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent74e2c35fbc62d643358518cf83e9651c347ea8f5 (diff)
downloadbcm5719-llvm-9c902b5502fe921137177912ce0f56289e3824b5.tar.gz
bcm5719-llvm-9c902b5502fe921137177912ce0f56289e3824b5.zip
Rename Diagnostic to DiagnosticsEngine as per issue 5397
llvm-svn: 140478
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
-rw-r--r--clang/lib/Frontend/CreateInvocationFromCommandLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
index 8fdc06db72c..ccfa865233f 100644
--- a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
+++ b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
@@ -30,7 +30,7 @@ using namespace clang;
/// argument vector.
CompilerInvocation *
clang::createInvocationFromCommandLine(ArrayRef<const char *> ArgList,
- llvm::IntrusiveRefCntPtr<Diagnostic> Diags) {
+ llvm::IntrusiveRefCntPtr<DiagnosticsEngine> Diags) {
if (!Diags.getPtr()) {
// No diagnostics engine was provided, so create our own diagnostics object
// with the default options.
OpenPOWER on IntegriCloud