diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2011-06-12 18:01:31 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2011-06-12 18:01:31 +0000 | 
| commit | bd5abe19687421cb3ad4dca066732ed0b437531b (patch) | |
| tree | a9b264321873e7d25e69b8671c9f705ebc6d30ee /contrib/llvm/tools/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
| parent | 74d92904a6e0f2d301cdeec3f8af4fbe4a968146 (diff) | |
| parent | 56fe8f14099930935e3870e3e823c322a85c1c89 (diff) | |
Notes
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
| -rw-r--r-- | contrib/llvm/tools/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/tools/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp b/contrib/llvm/tools/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp index 0005f910d214..42b648aa6411 100644 --- a/contrib/llvm/tools/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp +++ b/contrib/llvm/tools/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp @@ -65,7 +65,7 @@ clang::createInvocationFromCommandLine(llvm::ArrayRef<const char *> ArgList,    // We expect to get back exactly one command job, if we didn't something    // failed.    const driver::JobList &Jobs = C->getJobs(); -  if (Jobs.size() != 1 || !isa<driver::Command>(Jobs.begin())) { +  if (Jobs.size() != 1 || !isa<driver::Command>(*Jobs.begin())) {      llvm::SmallString<256> Msg;      llvm::raw_svector_ostream OS(Msg);      C->PrintJob(OS, C->getJobs(), "; ", true);  | 
