forked from OSchip/llvm-project
parent
dc406b8e92
commit
0228a9c76b
|
|
@ -39,7 +39,8 @@ int main(int argc, char **argv) {
|
|||
|
||||
for (unsigned i = 0, e = InputFilenames.size(); i != e; ++i) {
|
||||
const std::string &InFile = InputFilenames[i];
|
||||
llvm::OwningPtr<ASTUnit> AST(ASTUnit::LoadFromPCHFile(InFile, *Diags));
|
||||
llvm::OwningPtr<ASTUnit> AST(ASTUnit::LoadFromPCHFile(InFile,
|
||||
OwnedDiags(*Diags)));
|
||||
if (!AST)
|
||||
return 1;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue