Fix ASTMerge tests that I broke in my previous commit.

llvm-svn: 149759
This commit is contained in:
Argyrios Kyrtzidis
2012-02-04 03:26:16 +00:00
parent e788fac623
commit bd6a7d4c6c

View File

@@ -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;
}