diff options
| author | Haojian Wu <hokein@google.com> | 2016-02-26 09:19:33 +0000 |
|---|---|---|
| committer | Haojian Wu <hokein@google.com> | 2016-02-26 09:19:33 +0000 |
| commit | f7692a27923bbeb7cfdeb26909c2a3f0894bc132 (patch) | |
| tree | 99df56fc5481b00f5cd38566f81b0fac1c22156e /lldb/packages/Python/lldbsuite/test/functionalities/command_script/mysto.py | |
| parent | 4eba0154fb19081462e67666ffaa815036ffe7c5 (diff) | |
| download | bcm5719-llvm-f7692a27923bbeb7cfdeb26909c2a3f0894bc132.tar.gz bcm5719-llvm-f7692a27923bbeb7cfdeb26909c2a3f0894bc132.zip | |
[clang-tidy] Fix a crash issue when clang-tidy runs with compilation database.
Summary:
The clang-tidy will trigger an assertion if it's not in the building directory.
TEST:
cd <llvm-repo>/
./build/bin/clang-tidy --checks=-*,modernize-use-nullptr -p build tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
The crash issue is gone after applying this patch.
Fixes PR24834, PR26241
Reviewers: bkramer, alexfh
Subscribers: rizsotto.mailinglist, cfe-commits
Differential Revision: http://reviews.llvm.org/D17335
llvm-svn: 261991
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/command_script/mysto.py')
0 files changed, 0 insertions, 0 deletions

