diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-08-25 21:59:59 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-08-25 21:59:59 +0000 |
commit | 943ddb730bc81dd7cfc3ade33aea46261df9fd1b (patch) | |
tree | a7c38ca91a5f87f2e40d212ef72e083d71cf3641 /clang/lib/Frontend/ASTMerge.cpp | |
parent | 689053770b636c68c1534abb4cd619958601ca15 (diff) | |
download | llvm-943ddb730bc81dd7cfc3ade33aea46261df9fd1b.zip llvm-943ddb730bc81dd7cfc3ade33aea46261df9fd1b.tar.gz llvm-943ddb730bc81dd7cfc3ade33aea46261df9fd1b.tar.bz2 |
Modify the impl of ThreadList::GetSelectedThread() so that it tries to fetch the
m_selected_tid thread first, check to see if it is valid (might be null if the
thread just exited), and if not select/return the 0th thread instead.
llvm-svn: 138591
Diffstat (limited to 'clang/lib/Frontend/ASTMerge.cpp')
0 files changed, 0 insertions, 0 deletions