summaryrefslogtreecommitdiffstats
path: root/include/clang/AST/OperationKinds.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/OperationKinds.h')
-rw-r--r--include/clang/AST/OperationKinds.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/AST/OperationKinds.h b/include/clang/AST/OperationKinds.h
index 6359414..18169fd 100644
--- a/include/clang/AST/OperationKinds.h
+++ b/include/clang/AST/OperationKinds.h
@@ -288,7 +288,11 @@ enum CastKind {
///
/// This particular cast kind is used for the conversion from a C++11
/// lambda expression to a block pointer.
- CK_CopyAndAutoreleaseBlockObject
+ CK_CopyAndAutoreleaseBlockObject,
+
+ // Convert a builtin function to a function pointer; only allowed in the
+ // callee of a call expression.
+ CK_BuiltinFnToFnPtr
};
static const CastKind CK_Invalid = static_cast<CastKind>(-1);
OpenPOWER on IntegriCloud