include/babeltrace2: add `noexcept` specifier for C++ ≥ 11
[babeltrace.git] / include / babeltrace2 / trace-ir / field-path.h
index f58a454c6ae3292765f6c802fa70be0996d90237..039ceb5095fcc1f0a02a99b000ca1c7217687dd4 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef BABELTRACE2_TRACE_IR_FIELD_PATH_H
 #define BABELTRACE2_TRACE_IR_FIELD_PATH_H
 
+/* IWYU pragma: private, include <babeltrace2/babeltrace.h> */
+
 #ifndef __BT_IN_BABELTRACE_H
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
@@ -228,7 +230,7 @@ See the \ref api-tir-field-path-prop-root "root scope" property.
 @bt_pre_not_null{field_path}
 */
 extern bt_field_path_scope bt_field_path_get_root_scope(
-               const bt_field_path *field_path);
+               const bt_field_path *field_path) __BT_NOEXCEPT;
 
 /*!
 @brief
@@ -246,7 +248,7 @@ See the \ref api-tir-field-path-prop-items "items" property.
 @bt_pre_not_null{field_path}
 */
 extern uint64_t bt_field_path_get_item_count(
-               const bt_field_path *field_path);
+               const bt_field_path *field_path) __BT_NOEXCEPT;
 
 /*!
 @brief
@@ -278,7 +280,7 @@ See the \ref api-tir-field-path-prop-items "items" property.
     Returns the number of items contained in a field path.
 */
 extern const bt_field_path_item *bt_field_path_borrow_item_by_index_const(
-               const bt_field_path *field_path, uint64_t index);
+               const bt_field_path *field_path, uint64_t index) __BT_NOEXCEPT;
 
 /*!
 @brief
@@ -295,7 +297,8 @@ extern const bt_field_path_item *bt_field_path_borrow_item_by_index_const(
 @sa bt_field_path_put_ref() &mdash;
     Decrements the reference count of a field path.
 */
-extern void bt_field_path_get_ref(const bt_field_path *field_path);
+extern void bt_field_path_get_ref(const bt_field_path *field_path)
+               __BT_NOEXCEPT;
 
 /*!
 @brief
@@ -312,7 +315,8 @@ extern void bt_field_path_get_ref(const bt_field_path *field_path);
 @sa bt_field_path_get_ref() &mdash;
     Increments the reference count of a field path.
 */
-extern void bt_field_path_put_ref(const bt_field_path *field_path);
+extern void bt_field_path_put_ref(const bt_field_path *field_path)
+               __BT_NOEXCEPT;
 
 /*!
 @brief
@@ -420,7 +424,7 @@ See the \ref api-tir-field-path-prop-items "items" property.
 @bt_pre_not_null{item}
 */
 extern bt_field_path_item_type bt_field_path_item_get_type(
-               const bt_field_path_item *item);
+               const bt_field_path_item *item) __BT_NOEXCEPT;
 
 /*!
 @brief
@@ -442,7 +446,7 @@ See the \ref api-tir-field-path-prop-items "items" property.
     #BT_FIELD_PATH_ITEM_TYPE_INDEX).
 */
 extern uint64_t bt_field_path_item_index_get_index(
-               const bt_field_path_item *item);
+               const bt_field_path_item *item) __BT_NOEXCEPT;
 
 /*! @} */
 
This page took 0.024275 seconds and 4 git commands to generate.