diff options
| author | Manuel Klimek <klimek@google.com> | 2011-05-23 18:25:41 +0000 |
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2011-05-23 18:25:41 +0000 |
| commit | b66b5cef00f265caed3db9e9a99cd92cbb22cfb1 (patch) | |
| tree | 93c7a4b72c244b67f1683fb98af5b4b0f0f3d2ee /clang/examples | |
| parent | 8d400e1750b7383422147c32e25435ed54f15290 (diff) | |
| download | bcm5719-llvm-b66b5cef00f265caed3db9e9a99cd92cbb22cfb1.tar.gz bcm5719-llvm-b66b5cef00f265caed3db9e9a99cd92cbb22cfb1.zip | |
Fix examples compile break due to rewrite of isa.
llvm-svn: 131912
Diffstat (limited to 'clang/examples')
| -rw-r--r-- | clang/examples/clang-interpreter/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/examples/clang-interpreter/main.cpp b/clang/examples/clang-interpreter/main.cpp index ad39ecec9bd..16f4dab05d7 100644 --- a/clang/examples/clang-interpreter/main.cpp +++ b/clang/examples/clang-interpreter/main.cpp @@ -94,7 +94,7 @@ int main(int argc, const char **argv, char * const *envp) { // We expect to get back exactly one command job, if we didn't something // failed. Extract that job from the compilation. 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); |

