From 499d0b96cb52c828e7fc4d58825b5e8b3f9931c5 Mon Sep 17 00:00:00 2001 From: Sam McCall Date: Thu, 5 May 2022 16:17:47 +0200 Subject: [clang] createInvocationFromCommandLine -> createInvocation, delete former. NFC (Followup from 40c13720a4b977d4347bbde53c52a4d0703823c2) Differential Revision: https://reviews.llvm.org/D125012 --- clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp') diff --git a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp index 2a98aab..49e814b 100644 --- a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp +++ b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp @@ -104,12 +104,3 @@ clang::createInvocation(ArrayRef ArgList, return nullptr; return CI; } - -std::unique_ptr clang::createInvocationFromCommandLine( - ArrayRef Args, IntrusiveRefCntPtr Diags, - IntrusiveRefCntPtr VFS, bool ShouldRecoverOnErrors, - std::vector *CC1Args, bool ProbePrecompiled) { - return createInvocation( - Args, CreateInvocationOptions{Diags, VFS, ShouldRecoverOnErrors, - ProbePrecompiled, CC1Args}); -} -- cgit v1.1