From e839806cad021306510f72da63217ba57648929e Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Sat, 4 Feb 2012 03:26:16 +0000 Subject: [PATCH] Fix ASTMerge tests that I broke in my previous commit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149759 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/FrontendTool/ExecuteCompilerInvocation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/lib/FrontendTool/ExecuteCompilerInvocation.cpp index cfb185ec52..aef8474b8c 100644 --- a/lib/FrontendTool/ExecuteCompilerInvocation.cpp +++ b/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; } -- 2.40.0