aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/CodeGenDAGPatterns.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2018-08-01 11:24:50 +0000
committerHaojian Wu <hokein@google.com>2018-08-01 11:24:50 +0000
commit1ffd6b222aab2ded4450a70d48826ec026afaa44 (patch)
tree70c5e4ec62b8fd81bddd49b8b8583e71e400b740 /llvm/utils/TableGen/CodeGenDAGPatterns.cpp
parente447a273bd714c5338fc5c4270b3b657a407064c (diff)
downloadllvm-1ffd6b222aab2ded4450a70d48826ec026afaa44.zip
llvm-1ffd6b222aab2ded4450a70d48826ec026afaa44.tar.gz
llvm-1ffd6b222aab2ded4450a70d48826ec026afaa44.tar.bz2
[clangd] Make SymbolLocation => bool conversion explicitly.
Summary: The implicit bool conversion could happen superisingly, e.g. when checking `if (Loc1 == Loc2)`, the compiler will convert SymbolLocation to bool before comparing (because we don't define operator `==` for SymbolLocation). Reviewers: sammccall Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, cfe-commits Differential Revision: https://reviews.llvm.org/D49657 llvm-svn: 338517
Diffstat (limited to 'llvm/utils/TableGen/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions