From bd6a7d4c6c413bc5a55e8bba3b0f30335b0387c5 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Sat, 4 Feb 2012 03:26:16 +0000 Subject: Fix ASTMerge tests that I broke in my previous commit. llvm-svn: 149759 --- clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/FrontendTool') diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp index cfb185ec524..aef8474b8c7 100644 --- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp +++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp @@ -114,7 +114,7 @@ static FrontendAction *CreateFrontendAction(CompilerInstance &CI) { // If there are any AST files to merge, create a frontend action // adaptor to perform the merge. if (!FEOpts.ASTMergeFiles.empty()) - Act = new ASTMergeAction(Act, FEOpts.ASTMergeFiles[0]); + Act = new ASTMergeAction(Act, FEOpts.ASTMergeFiles); return Act; } -- cgit v1.2.3