aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2022-05-05 16:17:47 +0200
committerSam McCall <sam.mccall@gmail.com>2022-05-06 16:21:48 +0200
commit499d0b96cb52c828e7fc4d58825b5e8b3f9931c5 (patch)
tree94147f3680752ceb3045f8db9f3cd12bb0200cf2 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent2472b6869a6eeb198a4e982fd7c3ffc89dd4f6f5 (diff)
downloadllvm-499d0b96cb52c828e7fc4d58825b5e8b3f9931c5.zip
llvm-499d0b96cb52c828e7fc4d58825b5e8b3f9931c5.tar.gz
llvm-499d0b96cb52c828e7fc4d58825b5e8b3f9931c5.tar.bz2
[clang] createInvocationFromCommandLine -> createInvocation, delete former. NFC
(Followup from 40c13720a4b977d4347bbde53c52a4d0703823c2) Differential Revision: https://reviews.llvm.org/D125012
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
-rw-r--r--clang/lib/Frontend/CreateInvocationFromCommandLine.cpp9
1 files changed, 0 insertions, 9 deletions
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<const char *> ArgList,
return nullptr;
return CI;
}
-
-std::unique_ptr<CompilerInvocation> clang::createInvocationFromCommandLine(
- ArrayRef<const char *> Args, IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
- IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool ShouldRecoverOnErrors,
- std::vector<std::string> *CC1Args, bool ProbePrecompiled) {
- return createInvocation(
- Args, CreateInvocationOptions{Diags, VFS, ShouldRecoverOnErrors,
- ProbePrecompiled, CC1Args});
-}