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 | c8b3e6302f75c4fd44866ecfca9a7063d176c30c (patch) | |
tree | 03dfc9fc02970ee2d742546c95fc8a43180311a1 /examples | |
parent | b2ee8305f878259613b65d0f96a03f7f852977ea (diff) |
Fix examples compile break due to rewrite of isa.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131912 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r-- | examples/clang-interpreter/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/clang-interpreter/main.cpp b/examples/clang-interpreter/main.cpp index ad39ecec9b..16f4dab05d 100644 --- a/examples/clang-interpreter/main.cpp +++ b/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); |