From 54b1677d23a3a5ab8029540cb29021b0e6c6b64b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 23 Jul 2011 17:14:25 +0000 Subject: Move ArrayRef to LLVM.h and eliminate now-redundant qualifiers, patch by Jon Mulder! llvm-svn: 135855 --- clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp') diff --git a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp index fa34334..8fdc06d 100644 --- a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp +++ b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp @@ -29,7 +29,7 @@ using namespace clang; /// \return A CompilerInvocation, or 0 if none was built for the given /// argument vector. CompilerInvocation * -clang::createInvocationFromCommandLine(llvm::ArrayRef ArgList, +clang::createInvocationFromCommandLine(ArrayRef ArgList, llvm::IntrusiveRefCntPtr Diags) { if (!Diags.getPtr()) { // No diagnostics engine was provided, so create our own diagnostics object -- cgit v1.1