projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use only explicit bool conversion operators
[oota-llvm.git]
/
include
/
llvm
/
Analysis
/
InlineCost.h
diff --git
a/include/llvm/Analysis/InlineCost.h
b/include/llvm/Analysis/InlineCost.h
index bc7924e10fdcb6a38b519a8431379d0bf48cbb0e..28baa9eb94c0d69b5f75aa6ab540237c9f8a87fb 100644
(file)
--- a/
include/llvm/Analysis/InlineCost.h
+++ b/
include/llvm/Analysis/InlineCost.h
@@
-77,7
+77,7
@@
public:
}
/// \brief Test whether the inline cost is low enough for inlining.
- operator bool() const {
+
LLVM_EXPLICIT
operator bool() const {
return Cost < Threshold;
}