summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2019-08-27 22:13:31 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2019-08-27 22:13:31 +0000
commit610ec02d6d37fe332e142d131378545b41db879d (patch)
tree3e1a914c57296954b87e3f8ac641e8068b5d18f3 /unittests
parent9e9f8b7c6fc1e2f729253ec29946196fb2f4c2f6 (diff)
downloadclang-610ec02d6d37fe332e142d131378545b41db879d.tar.gz
ArrayRef'ized CompilerInvocation::CreateFromArgs
Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D66797 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370122 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/AST/ExternalASTSourceTest.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/unittests/AST/ExternalASTSourceTest.cpp b/unittests/AST/ExternalASTSourceTest.cpp
index ba8a8cd376..8b70be664e 100644
--- a/unittests/AST/ExternalASTSourceTest.cpp
+++ b/unittests/AST/ExternalASTSourceTest.cpp
@@ -53,7 +53,6 @@ bool testExternalASTSource(ExternalASTSource *Source,
"test.cc", MemoryBuffer::getMemBuffer(FileContents).release());
const char *Args[] = { "test.cc" };
CompilerInvocation::CreateFromArgs(*Invocation, Args,
- Args + array_lengthof(Args),
Compiler.getDiagnostics());
Compiler.setInvocation(std::move(Invocation));