diff options
author | Haojian Wu <hokein@google.com> | 2019-05-27 08:09:02 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2019-05-27 08:09:02 +0000 |
commit | c11de5eada2decd0a495ea02676b6f4838cd54fb (patch) | |
tree | bb2f9fd9019b3a580a7d3ae13c4659b0e6a5e0a9 /clang/lib/Sema/SemaCodeComplete.cpp | |
parent | 1d28030f99791c043917faf6066ceba208504627 (diff) | |
download | bcm5719-llvm-c11de5eada2decd0a495ea02676b6f4838cd54fb.tar.gz bcm5719-llvm-c11de5eada2decd0a495ea02676b6f4838cd54fb.zip |
[clang-tidy] Fix unused-variable warning after r361647.
Summary:
A range-for was added in r361647 where the range variable was only used in an
assertion. As a result, it warned for Release builds. This revision
restructures the assertion to avoid the problem.
Patch by Yitzhak Mandelbaum.
Reviewers: ilya-biryukov
Reviewed By: ilya-biryukov
Subscribers: xazax.hun, cfe-commits
Tags: #clang-tools-extra, #clang
Differential Revision: https://reviews.llvm.org/D62412
llvm-svn: 361749
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions