aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/Type.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/Type.h')
-rw-r--r--include/clang/AST/Type.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h
index c194e7baa9..713316f146 100644
--- a/include/clang/AST/Type.h
+++ b/include/clang/AST/Type.h
@@ -2484,6 +2484,13 @@ public:
getNumExceptions() == 0;
}
+ /// \brief Returns true if this function type has a non-throwing
+ /// exception-specification.
+ bool hasNonThrowingExceptionSpec() const {
+ // FIXME: this needs to be updated for C++0x.
+ return hasEmptyExceptionSpec();
+ }
+
using FunctionType::isVariadic;
/// \brief Determines whether this function prototype contains a