summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaCodeComplete.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2019-05-27 08:09:02 +0000
committerHaojian Wu <hokein@google.com>2019-05-27 08:09:02 +0000
commitc11de5eada2decd0a495ea02676b6f4838cd54fb (patch)
treebb2f9fd9019b3a580a7d3ae13c4659b0e6a5e0a9 /clang/lib/Sema/SemaCodeComplete.cpp
parent1d28030f99791c043917faf6066ceba208504627 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud