aboutsummaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-12-18 09:59:50 +0000
committerDuncan Sands <baldrick@free.fr>2007-12-18 09:59:50 +0000
commit2b0e8990ab33ec2dad21286d3ce01dbb4bbe63c1 (patch)
treebb69bcade78ca0c84fd5e621d5d07feeeb094dc0 /include/llvm
parentf311f53a0fbe6063d32ad0767e005c2727feb365 (diff)
Rename isNoReturn to doesNotReturn, and isNoUnwind to
doesNotThrow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Function.h4
-rw-r--r--include/llvm/Instructions.h8
-rw-r--r--include/llvm/Support/CallSite.h2
3 files changed, 7 insertions, 7 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index 2abde45f8b..2c76c9947b 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -166,12 +166,12 @@ public:
}
/// @brief Determine if the function cannot return.
- bool isNoReturn() const {
+ bool doesNotReturn() const {
return paramHasAttr(0, ParamAttr::NoReturn);
}
/// @brief Determine if the function cannot unwind.
- bool isNoUnwind() const {
+ bool doesNotThrow() const {
return paramHasAttr(0, ParamAttr::NoUnwind);
}
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h
index 3c8673e627..cdce9ecdfe 100644
--- a/include/llvm/Instructions.h
+++ b/include/llvm/Instructions.h
@@ -940,12 +940,12 @@ public:
}
/// @brief Determine if the call cannot return.
- bool isNoReturn() const {
+ bool doesNotReturn() const {
return paramHasAttr(0, ParamAttr::NoReturn);
}
/// @brief Determine if the call cannot unwind.
- bool isNoUnwind() const {
+ bool doesNotThrow() const {
return paramHasAttr(0, ParamAttr::NoUnwind);
}
@@ -1744,12 +1744,12 @@ public:
}
/// @brief Determine if the call cannot return.
- bool isNoReturn() const {
+ bool doesNotReturn() const {
return paramHasAttr(0, ParamAttr::NoReturn);
}
/// @brief Determine if the call cannot unwind.
- bool isNoUnwind() const {
+ bool doesNotThrow() const {
return paramHasAttr(0, ParamAttr::NoUnwind);
}
diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h
index 3735842e72..ce8e9fff5e 100644
--- a/include/llvm/Support/CallSite.h
+++ b/include/llvm/Support/CallSite.h
@@ -74,7 +74,7 @@ public:
bool onlyReadsMemory() const;
/// @brief Determine if the call cannot unwind.
- bool isNoUnwind() const;
+ bool doesNotThrow() const;
/// getType - Return the type of the instruction that generated this call site
///