OSDN Git Service

[LCG] Replace an implicit bool operator with a named function. (NFC)
authorChandler Carruth <chandlerc@gmail.com>
Sat, 5 Aug 2017 04:04:06 +0000 (04:04 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 5 Aug 2017 04:04:06 +0000 (04:04 +0000)
commitd2f3f4a06ac5ae96f421684a350756e20289797b
tree3935515a27fd222cbb4e4d52e0af9bfd90f6f1d7
parent9468df99c11654eda2b53c62d9444578a6daee3f
[LCG] Replace an implicit bool operator with a named function. (NFC)

The definition of 'false' here was already pretty vague and debatable,
and I'm about to add another potential 'false' that would actually make
much more sense in a bool operator. Especially given how rarely this is
used, a nicely named method seems better.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310165 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LazyCallGraph.h
lib/Analysis/LazyCallGraph.cpp