src/cpp-common: use C-style comments in C++ files
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 1 Mar 2022 16:25:05 +0000 (11:25 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 11 Sep 2023 15:24:02 +0000 (11:24 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I63b73d110e59f39afc59e83fcf7b59e61db78dbc
Reviewed-on: https://review.lttng.org/c/babeltrace/+/7434
Reviewed-on: https://review.lttng.org/c/babeltrace/+/10754
Tested-by: jenkins <jenkins@lttng.org>
16 files changed:
src/cpp-common/bt2/clock-class.hpp
src/cpp-common/bt2/clock-snapshot.hpp
src/cpp-common/bt2/field-class.hpp
src/cpp-common/bt2/field-path.hpp
src/cpp-common/bt2/field.hpp
src/cpp-common/bt2/integer-range-set.hpp
src/cpp-common/bt2/integer-range.hpp
src/cpp-common/bt2/internal/borrowed-obj.hpp
src/cpp-common/bt2/internal/shared-obj.hpp
src/cpp-common/bt2/internal/utils.hpp
src/cpp-common/bt2/lib-error.hpp
src/cpp-common/bt2/logging.hpp
src/cpp-common/bt2/message.hpp
src/cpp-common/bt2/trace-ir.hpp
src/cpp-common/bt2/value.hpp
src/cpp-common/uuid-view.hpp

index e55220960889f1ca1ecca616249f558f1172c6a3..c312bdbfb71468ac9cfd79c638f791fe47e49d7f 100644 (file)
@@ -40,7 +40,7 @@ struct ClockClassRefFuncs final
 template <typename LibObjT>
 struct CommonClockClassSpec;
 
-// Functions specific to mutable clock classes
+/* Functions specific to mutable clock classes */
 template <>
 struct CommonClockClassSpec<bt_clock_class> final
 {
@@ -50,7 +50,7 @@ struct CommonClockClassSpec<bt_clock_class> final
     }
 };
 
-// Functions specific to constant clock classes
+/* Functions specific to constant clock classes */
 template <>
 struct CommonClockClassSpec<const bt_clock_class> final
 {
@@ -60,7 +60,7 @@ struct CommonClockClassSpec<const bt_clock_class> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 class ClockClassOffset final
 {
@@ -285,6 +285,6 @@ public:
 using ClockClass = CommonClockClass<bt_clock_class>;
 using ConstClockClass = CommonClockClass<const bt_clock_class>;
 
-} // namespace bt2
+} /* namespace bt2 */
 
-#endif // BABELTRACE_CPP_COMMON_BT2_CLOCK_CLASS_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_CLOCK_CLASS_HPP */
index 26ec9e8368746aa822938e4f7d92303e820cdaff..301931f6d3e7801d36becce9972c0fa47d6f37a0 100644 (file)
@@ -56,6 +56,6 @@ public:
     }
 };
 
-} // namespace bt2
+} /* namespace bt2 */
 
-#endif // BABELTRACE_CPP_COMMON_BT2_CLOCK_SNAPSHOT_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_CLOCK_SNAPSHOT_HPP */
index 787a8cb3bdd5b5eff4de06c967ec29c1c2e0e49e..a248d9d1425d7c591419ad04a3ae5884f3b84745 100644 (file)
@@ -43,7 +43,7 @@ using SharedFieldClass = internal::SharedObj<ObjT, LibObjT, internal::FieldClass
 template <typename LibObjT>
 struct CommonFieldClassSpec;
 
-// Functions specific to mutable field classes
+/* Functions specific to mutable field classes */
 template <>
 struct CommonFieldClassSpec<bt_field_class> final
 {
@@ -53,7 +53,7 @@ struct CommonFieldClassSpec<bt_field_class> final
     }
 };
 
-// Functions specific to constant field classes
+/* Functions specific to constant field classes */
 template <>
 struct CommonFieldClassSpec<const bt_field_class> final
 {
@@ -63,7 +63,7 @@ struct CommonFieldClassSpec<const bt_field_class> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonBitArrayFieldClass;
@@ -153,10 +153,10 @@ enum class FieldClassType
 template <typename LibObjT>
 class CommonFieldClass : public internal::BorrowedObj<LibObjT>
 {
-    // Allow appendMember() to call `fc._libObjPtr()`
+    /* Allow appendMember() to call `fc._libObjPtr()` */
     friend class CommonStructureFieldClass<bt_field_class>;
 
-    // Allow appendOption() to call `fc._libObjPtr()`
+    /* Allow appendOption() to call `fc._libObjPtr()` */
     friend class CommonVariantWithoutSelectorFieldClass<bt_field_class>;
 
     friend class CommonVariantWithIntegerSelectorFieldClass<
@@ -169,11 +169,11 @@ class CommonFieldClass : public internal::BorrowedObj<LibObjT>
         ConstVariantWithIntegerSelectorFieldClassOption<
             const bt_field_class_variant_with_selector_field_integer_signed_option>>;
 
-    // Allow *FieldClass() to call `fc._libObjPtr()`
+    /* Allow *FieldClass() to call `fc._libObjPtr()` */
     friend class CommonEventClass<bt_event_class>;
     friend class CommonStreamClass<bt_stream_class>;
 
-    // Allow create*FieldClass() to call `fc._libObjPtr()`
+    /* Allow create*FieldClass() to call `fc._libObjPtr()` */
     friend class CommonTraceClass<bt_trace_class>;
 
 private:
@@ -558,7 +558,7 @@ namespace internal {
 template <typename LibObjT>
 struct ConstEnumerationFieldClassMappingSpec;
 
-// Functions specific to unsigned enumeration field class mappings
+/* Functions specific to unsigned enumeration field class mappings */
 template <>
 struct ConstEnumerationFieldClassMappingSpec<const bt_field_class_enumeration_unsigned_mapping>
     final
@@ -577,7 +577,7 @@ struct ConstEnumerationFieldClassMappingSpec<const bt_field_class_enumeration_un
     }
 };
 
-// Functions specific to signed enumeration field class mappings
+/* Functions specific to signed enumeration field class mappings */
 template <>
 struct ConstEnumerationFieldClassMappingSpec<const bt_field_class_enumeration_signed_mapping> final
 {
@@ -595,7 +595,7 @@ struct ConstEnumerationFieldClassMappingSpec<const bt_field_class_enumeration_si
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class ConstEnumerationFieldClassMapping final : public internal::BorrowedObj<LibObjT>
@@ -651,7 +651,7 @@ namespace internal {
 template <typename MappingT>
 struct CommonEnumerationFieldClassSpec;
 
-// Functions specific to unsigned enumeration field classes
+/* Functions specific to unsigned enumeration field classes */
 template <>
 struct CommonEnumerationFieldClassSpec<ConstUnsignedEnumerationFieldClassMapping> final
 {
@@ -668,7 +668,7 @@ struct CommonEnumerationFieldClassSpec<ConstUnsignedEnumerationFieldClassMapping
     }
 };
 
-// Functions specific to signed enumeration field classes
+/* Functions specific to signed enumeration field classes */
 template <>
 struct CommonEnumerationFieldClassSpec<ConstSignedEnumerationFieldClassMapping> final
 {
@@ -685,7 +685,7 @@ struct CommonEnumerationFieldClassSpec<ConstSignedEnumerationFieldClassMapping>
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT, typename MappingT>
 class CommonEnumerationFieldClass final : public CommonIntegerFieldClass<LibObjT>
@@ -771,7 +771,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonStructureFieldClassMemberSpec;
 
-// Functions specific to mutable structure field class members
+/* Functions specific to mutable structure field class members */
 template <>
 struct CommonStructureFieldClassMemberSpec<bt_field_class_structure_member> final
 {
@@ -781,7 +781,7 @@ struct CommonStructureFieldClassMemberSpec<bt_field_class_structure_member> fina
     }
 };
 
-// Functions specific to constant structure field class members
+/* Functions specific to constant structure field class members */
 template <>
 struct CommonStructureFieldClassMemberSpec<const bt_field_class_structure_member> final
 {
@@ -792,7 +792,7 @@ struct CommonStructureFieldClassMemberSpec<const bt_field_class_structure_member
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonStructureFieldClassMember final : public internal::BorrowedObj<LibObjT>
@@ -853,7 +853,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonStructureFieldClassSpec;
 
-// Functions specific to mutable structure field classes
+/* Functions specific to mutable structure field classes */
 template <>
 struct CommonStructureFieldClassSpec<bt_field_class> final
 {
@@ -870,7 +870,7 @@ struct CommonStructureFieldClassSpec<bt_field_class> final
     }
 };
 
-// Functions specific to constant structure field classes
+/* Functions specific to constant structure field classes */
 template <>
 struct CommonStructureFieldClassSpec<const bt_field_class> final
 {
@@ -887,7 +887,7 @@ struct CommonStructureFieldClassSpec<const bt_field_class> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonStructureFieldClass final : public CommonFieldClass<LibObjT>
@@ -1009,7 +1009,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonArrayFieldClassSpec;
 
-// Functions specific to mutable array field classes
+/* Functions specific to mutable array field classes */
 template <>
 struct CommonArrayFieldClassSpec<bt_field_class> final
 {
@@ -1019,7 +1019,7 @@ struct CommonArrayFieldClassSpec<bt_field_class> final
     }
 };
 
-// Functions specific to constant array field classes
+/* Functions specific to constant array field classes */
 template <>
 struct CommonArrayFieldClassSpec<const bt_field_class> final
 {
@@ -1029,7 +1029,7 @@ struct CommonArrayFieldClassSpec<const bt_field_class> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonArrayFieldClass : public CommonFieldClass<LibObjT>
@@ -1187,7 +1187,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonOptionFieldClassSpec;
 
-// Functions specific to mutable option field classes
+/* Functions specific to mutable option field classes */
 template <>
 struct CommonOptionFieldClassSpec<bt_field_class> final
 {
@@ -1197,7 +1197,7 @@ struct CommonOptionFieldClassSpec<bt_field_class> final
     }
 };
 
-// Functions specific to constant option field classes
+/* Functions specific to constant option field classes */
 template <>
 struct CommonOptionFieldClassSpec<const bt_field_class> final
 {
@@ -1207,7 +1207,7 @@ struct CommonOptionFieldClassSpec<const bt_field_class> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonOptionFieldClass : public CommonFieldClass<LibObjT>
@@ -1372,7 +1372,7 @@ namespace internal {
 template <typename RangeSetT>
 struct CommonOptionWithIntegerSelectorFieldClassSpec;
 
-// Functions specific to option field classes with unsigned integer ranges
+/* Functions specific to option field classes with unsigned integer ranges */
 template <>
 struct CommonOptionWithIntegerSelectorFieldClassSpec<ConstUnsignedIntegerRangeSet> final
 {
@@ -1384,7 +1384,7 @@ struct CommonOptionWithIntegerSelectorFieldClassSpec<ConstUnsignedIntegerRangeSe
     }
 };
 
-// Functions specific to option field classes with signed ranges
+/* Functions specific to option field classes with signed ranges */
 template <>
 struct CommonOptionWithIntegerSelectorFieldClassSpec<ConstSignedIntegerRangeSet> final
 {
@@ -1396,7 +1396,7 @@ struct CommonOptionWithIntegerSelectorFieldClassSpec<ConstSignedIntegerRangeSet>
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT, typename RangeSetT>
 class CommonOptionWithIntegerSelectorFieldClass : public CommonOptionWithSelectorFieldClass<LibObjT>
@@ -1466,7 +1466,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonVariantFieldClassOptionSpec;
 
-// Functions specific to mutable variant field class options
+/* Functions specific to mutable variant field class options */
 template <>
 struct CommonVariantFieldClassOptionSpec<bt_field_class_variant_option> final
 {
@@ -1476,7 +1476,7 @@ struct CommonVariantFieldClassOptionSpec<bt_field_class_variant_option> final
     }
 };
 
-// Functions specific to constant variant field class options
+/* Functions specific to constant variant field class options */
 template <>
 struct CommonVariantFieldClassOptionSpec<const bt_field_class_variant_option> final
 {
@@ -1487,7 +1487,7 @@ struct CommonVariantFieldClassOptionSpec<const bt_field_class_variant_option> fi
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonVariantFieldClassOption : public internal::BorrowedObj<LibObjT>
@@ -1547,7 +1547,7 @@ namespace internal {
 template <typename LibObjT>
 struct ConstVariantWithIntegerSelectorFieldClassOptionSpec;
 
-// Functions specific to variant field class options with unsigned integer selector
+/* Functions specific to variant field class options with unsigned integer selector */
 template <>
 struct ConstVariantWithIntegerSelectorFieldClassOptionSpec<
     const bt_field_class_variant_with_selector_field_integer_unsigned_option>
@@ -1570,7 +1570,7 @@ struct ConstVariantWithIntegerSelectorFieldClassOptionSpec<
     }
 };
 
-// Functions specific to variant field class options with signed integer selector
+/* Functions specific to variant field class options with signed integer selector */
 template <>
 struct ConstVariantWithIntegerSelectorFieldClassOptionSpec<
     const bt_field_class_variant_with_selector_field_integer_signed_option>
@@ -1593,7 +1593,7 @@ struct ConstVariantWithIntegerSelectorFieldClassOptionSpec<
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class ConstVariantWithIntegerSelectorFieldClassOption : public internal::BorrowedObj<LibObjT>
@@ -1664,7 +1664,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonVariantFieldClassSpec;
 
-// Functions specific to mutable variant field classes
+/* Functions specific to mutable variant field classes */
 template <>
 struct CommonVariantFieldClassSpec<bt_field_class> final
 {
@@ -1681,7 +1681,7 @@ struct CommonVariantFieldClassSpec<bt_field_class> final
     }
 };
 
-// Functions specific to constant variant field classes
+/* Functions specific to constant variant field classes */
 template <>
 struct CommonVariantFieldClassSpec<const bt_field_class> final
 {
@@ -1698,7 +1698,7 @@ struct CommonVariantFieldClassSpec<const bt_field_class> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonVariantFieldClass : public CommonFieldClass<LibObjT>
@@ -1866,7 +1866,7 @@ namespace internal {
 template <typename OptionT>
 struct CommonVariantWithIntegerSelectorFieldClassSpec;
 
-// Functions specific to variant field classes with unsigned integer selector
+/* Functions specific to variant field classes with unsigned integer selector */
 template <>
 struct CommonVariantWithIntegerSelectorFieldClassSpec<
     ConstVariantWithUnsignedIntegerSelectorFieldClassOption>
@@ -1896,7 +1896,7 @@ struct CommonVariantWithIntegerSelectorFieldClassSpec<
     }
 };
 
-// Functions specific to variant field classes with signed integer selector
+/* Functions specific to variant field classes with signed integer selector */
 template <>
 struct CommonVariantWithIntegerSelectorFieldClassSpec<
     ConstVariantWithSignedIntegerSelectorFieldClassOption>
@@ -1926,7 +1926,7 @@ struct CommonVariantWithIntegerSelectorFieldClassSpec<
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT, typename OptionT>
 class CommonVariantWithIntegerSelectorFieldClass : public CommonVariantFieldClass<LibObjT>
@@ -2170,6 +2170,6 @@ CommonFieldClass<LibObjT>::asVariantWithSignedIntegerSelector() const noexcept
         LibObjT, ConstVariantWithSignedIntegerSelectorFieldClassOption> {this->_libObjPtr()};
 }
 
-} // namespace bt2
+} /* namespace bt2 */
 
-#endif // BABELTRACE_CPP_COMMON_BT2_FIELD_CLASS_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_FIELD_CLASS_HPP */
index b91d91135ba95aed791ba64853a6d241abf327a5..8a4d9f22e327036df504e9fac41bbbaa85a00696 100644 (file)
@@ -117,7 +117,7 @@ struct FieldPathRefFuncs final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 class ConstFieldPath final : public internal::BorrowedObj<const bt_field_path>
 {
@@ -169,6 +169,6 @@ public:
     }
 };
 
-} // namespace bt2
+} /* namespace bt2 */
 
-#endif // BABELTRACE_CPP_COMMON_BT2_FIELD_PATH_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_FIELD_PATH_HPP */
index c62368e5d2c45fb8cd2df9ca4ccafffbcb4ba6cc..54f3b38a1548e111775a24b3f2baffad0056ecb8 100644 (file)
@@ -66,7 +66,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonFieldSpec;
 
-// Functions specific to mutable fields
+/* Functions specific to mutable fields */
 template <>
 struct CommonFieldSpec<bt_field> final
 {
@@ -76,7 +76,7 @@ struct CommonFieldSpec<bt_field> final
     }
 };
 
-// Functions specific to constant fields
+/* Functions specific to constant fields */
 template <>
 struct CommonFieldSpec<const bt_field> final
 {
@@ -86,7 +86,7 @@ struct CommonFieldSpec<const bt_field> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonField : public internal::BorrowedObj<LibObjT>
@@ -796,7 +796,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonStructureFieldSpec;
 
-// Functions specific to mutable structure fields
+/* Functions specific to mutable structure fields */
 template <>
 struct CommonStructureFieldSpec<bt_field> final
 {
@@ -812,7 +812,7 @@ struct CommonStructureFieldSpec<bt_field> final
     }
 };
 
-// Functions specific to constant structure fields
+/* Functions specific to constant structure fields */
 template <>
 struct CommonStructureFieldSpec<const bt_field> final
 {
@@ -829,7 +829,7 @@ struct CommonStructureFieldSpec<const bt_field> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonStructureField final : public CommonField<LibObjT>
@@ -932,7 +932,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonArrayFieldSpec;
 
-// Functions specific to mutable array fields
+/* Functions specific to mutable array fields */
 template <>
 struct CommonArrayFieldSpec<bt_field> final
 {
@@ -943,7 +943,7 @@ struct CommonArrayFieldSpec<bt_field> final
     }
 };
 
-// Functions specific to constant array fields
+/* Functions specific to constant array fields */
 template <>
 struct CommonArrayFieldSpec<const bt_field> final
 {
@@ -954,7 +954,7 @@ struct CommonArrayFieldSpec<const bt_field> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonArrayField : public CommonField<LibObjT>
@@ -1072,7 +1072,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonOptionFieldSpec;
 
-// Functions specific to mutable option fields
+/* Functions specific to mutable option fields */
 template <>
 struct CommonOptionFieldSpec<bt_field> final
 {
@@ -1082,7 +1082,7 @@ struct CommonOptionFieldSpec<bt_field> final
     }
 };
 
-// Functions specific to constant option fields
+/* Functions specific to constant option fields */
 template <>
 struct CommonOptionFieldSpec<const bt_field> final
 {
@@ -1092,7 +1092,7 @@ struct CommonOptionFieldSpec<const bt_field> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonOptionField : public CommonField<LibObjT>
@@ -1178,7 +1178,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonVariantFieldSpec;
 
-// Functions specific to mutable variant fields
+/* Functions specific to mutable variant fields */
 template <>
 struct CommonVariantFieldSpec<bt_field> final
 {
@@ -1188,7 +1188,7 @@ struct CommonVariantFieldSpec<bt_field> final
     }
 };
 
-// Functions specific to constant variant fields
+/* Functions specific to constant variant fields */
 template <>
 struct CommonVariantFieldSpec<const bt_field> final
 {
@@ -1198,7 +1198,7 @@ struct CommonVariantFieldSpec<const bt_field> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonVariantField : public CommonField<LibObjT>
@@ -1366,6 +1366,6 @@ CommonVariantField<LibObjT> CommonField<LibObjT>::asVariant() const noexcept
     return CommonVariantField<LibObjT> {this->_libObjPtr()};
 }
 
-} // namespace bt2
+} /* namespace bt2 */
 
-#endif // BABELTRACE_CPP_COMMON_BT2_FIELD_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_FIELD_HPP */
index a56a4566f051eb37c0c166888b46233e1f797706..da6b690f354548815739f24519a45c847a0ddbd1 100644 (file)
@@ -54,7 +54,7 @@ struct IntegerRangeSetRefFuncs<const bt_integer_range_set_signed> final
 template <typename LibObjT>
 struct CommonIntegerRangeSetSpec;
 
-// Functions specific to unsigned integer range sets
+/* Functions specific to unsigned integer range sets */
 template <>
 struct CommonIntegerRangeSetSpec<const bt_integer_range_set_unsigned> final
 {
@@ -91,7 +91,7 @@ struct CommonIntegerRangeSetSpec<const bt_integer_range_set_unsigned> final
     }
 };
 
-// Functions specific to signed integer range sets
+/* Functions specific to signed integer range sets */
 template <>
 struct CommonIntegerRangeSetSpec<const bt_integer_range_set_signed> final
 {
@@ -127,7 +127,7 @@ struct CommonIntegerRangeSetSpec<const bt_integer_range_set_signed> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class ConstVariantWithIntegerSelectorFieldClassOption;
@@ -141,13 +141,13 @@ class CommonTraceClass;
 template <typename LibObjT>
 class CommonIntegerRangeSet final : public internal::BorrowedObj<LibObjT>
 {
-    // Allow operator==() to call `other._libObjPtr()`
+    /* Allow operator==() to call `other._libObjPtr()` */
     friend class CommonIntegerRangeSet<bt_integer_range_set_unsigned>;
     friend class CommonIntegerRangeSet<const bt_integer_range_set_unsigned>;
     friend class CommonIntegerRangeSet<bt_integer_range_set_signed>;
     friend class CommonIntegerRangeSet<const bt_integer_range_set_signed>;
 
-    // Allow appendOption() to call `ranges._libObjPtr()`
+    /* Allow appendOption() to call `ranges._libObjPtr()` */
     friend class CommonVariantWithIntegerSelectorFieldClass<
         bt_field_class,
         ConstVariantWithIntegerSelectorFieldClassOption<
@@ -158,7 +158,7 @@ class CommonIntegerRangeSet final : public internal::BorrowedObj<LibObjT>
         ConstVariantWithIntegerSelectorFieldClassOption<
             const bt_field_class_variant_with_selector_field_integer_signed_option>>;
 
-    // Allow create*FieldClass() to call `ranges._libObjPtr()`
+    /* Allow create*FieldClass() to call `ranges._libObjPtr()` */
     friend class CommonTraceClass<bt_trace_class>;
 
 private:
@@ -249,6 +249,6 @@ using ConstUnsignedIntegerRangeSet = CommonIntegerRangeSet<const bt_integer_rang
 using SignedIntegerRangeSet = CommonIntegerRangeSet<bt_integer_range_set_signed>;
 using ConstSignedIntegerRangeSet = CommonIntegerRangeSet<const bt_integer_range_set_signed>;
 
-} // namespace bt2
+} /* namespace bt2 */
 
-#endif // BABELTRACE_CPP_COMMON_BT2_INTEGER_RANGE_SET_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_INTEGER_RANGE_SET_HPP */
index 7e94e9e037c42bbcefe0711056f692f94dc05b22..1dff95aa77a15e403b28654561901e04d198dd38 100644 (file)
@@ -20,7 +20,7 @@ namespace internal {
 template <typename ValueT>
 struct ConstIntegerRangeSpec;
 
-// Functions specific to unsigned integer ranges
+/* Functions specific to unsigned integer ranges */
 template <>
 struct ConstIntegerRangeSpec<const bt_integer_range_unsigned> final
 {
@@ -41,7 +41,7 @@ struct ConstIntegerRangeSpec<const bt_integer_range_unsigned> final
     }
 };
 
-// Functions specific to signed integer ranges
+/* Functions specific to signed integer ranges */
 template <>
 struct ConstIntegerRangeSpec<const bt_integer_range_signed> final
 {
@@ -62,7 +62,7 @@ struct ConstIntegerRangeSpec<const bt_integer_range_signed> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class ConstIntegerRange final : public internal::BorrowedObj<LibObjT>
@@ -117,6 +117,6 @@ public:
 using ConstUnsignedIntegerRange = ConstIntegerRange<const bt_integer_range_unsigned>;
 using ConstSignedIntegerRange = ConstIntegerRange<const bt_integer_range_signed>;
 
-} // namespace bt2
+} /* namespace bt2 */
 
-#endif // BABELTRACE_CPP_COMMON_BT2_INTEGER_RANGE_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_INTEGER_RANGE_HPP */
index 89feb620bb07f6ea92b49a6d97fd8b99b5ba857f..4f3645987c00f1d67b02611b42959a4144161e25 100644 (file)
@@ -55,10 +55,10 @@ class BorrowedObj
     friend class SharedObj;
 
 protected:
-    // libbabeltrace2 object pointer
+    /* libbabeltrace2 object pointer */
     using _LibObjPtr = LibObjT *;
 
-    // This complete borrowed object
+    /* This complete borrowed object */
     using _ThisBorrowedObj = BorrowedObj<LibObjT>;
 
     /*
@@ -108,7 +108,7 @@ protected:
         return *this;
     }
 
-    // Wrapped libbabeltrace2 object pointer
+    /* Wrapped libbabeltrace2 object pointer */
     _LibObjPtr _libObjPtr() const noexcept
     {
         return _mLibObjPtr;
@@ -118,7 +118,7 @@ private:
     _LibObjPtr _mLibObjPtr;
 };
 
-} // namespace internal
-} // namespace bt2
+} /* namespace internal */
+} /* namespace bt2 */
 
-#endif // BABELTRACE_CPP_COMMON_BT2_INTERNAL_BORROWED_OBJ_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_INTERNAL_BORROWED_OBJ_HPP */
index 5451be5fe1f66ae639d7d33b7a727a7f0ed9e0ff..89d1480d78f8162a8005095f2cda1273216cee7a 100644 (file)
@@ -46,7 +46,7 @@ class SharedObj final
     friend class SharedObj;
 
 public:
-    // This complete shared object
+    /* This complete shared object */
     using ThisSharedObj = SharedObj<ObjT, LibObjT, RefFuncsT>;
 
     /*
@@ -96,7 +96,7 @@ public:
     template <typename OtherObjT, typename OtherLibObjT>
     SharedObj(SharedObj<OtherObjT, OtherLibObjT, RefFuncsT>&& other) noexcept : _mObj {other._mObj}
     {
-        // Reset moved-from object
+        /* Reset moved-from object */
         other._reset();
     }
 
@@ -108,10 +108,10 @@ public:
     template <typename OtherObjT, typename OtherLibObjT>
     ThisSharedObj& operator=(const SharedObj<OtherObjT, OtherLibObjT, RefFuncsT>& other) noexcept
     {
-        // Put current object's reference
+        /* Put current object's reference */
         this->_putRef();
 
-        // Set new current object and get a reference
+        /* Set new current object and get a reference */
         _mObj = other._mObj;
         this->_getRef();
 
@@ -126,13 +126,13 @@ public:
     template <typename OtherObjT, typename OtherLibObjT>
     ThisSharedObj& operator=(SharedObj<OtherObjT, OtherLibObjT, RefFuncsT>&& other) noexcept
     {
-        // Put current object's reference
+        /* Put current object's reference */
         this->_putRef();
 
-        // Set new current object
+        /* Set new current object */
         _mObj = other._mObj;
 
-        // Reset moved-from object
+        /* Reset moved-from object */
         other._reset();
 
         return *this;
@@ -203,7 +203,7 @@ private:
     nonstd::optional<ObjT> _mObj;
 };
 
-} // namespace internal
-} // namespace bt2
+} /* namespace internal */
+} /* namespace bt2 */
 
-#endif // BABELTRACE_CPP_COMMON_BT2_INTERNAL_SHARED_OBJ_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_INTERNAL_SHARED_OBJ_HPP */
index d429f3bc745e036d17eade113c3e7f98230ba977..cbf761b0ca49c738c224da3b3b5607d13e08b578 100644 (file)
@@ -22,7 +22,7 @@ void validateCreatedObjPtr(const LibObjPtrT libOjbPtr)
     }
 }
 
-} // namespace internal
-} // namespace bt2
+} /* namespace internal */
+} /* namespace bt2 */
 
-#endif // BABELTRACE_CPP_COMMON_BT2_INTERNAL_UTILS_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_INTERNAL_UTILS_HPP */
index 646b7fca2153b611fc856d87e0b6d6b14feab376..be8f8000b0a92cab28c92b0a49179b44da105e72 100644 (file)
@@ -45,6 +45,6 @@ public:
     }
 };
 
-} // namespace bt2
+} /* namespace bt2 */
 
-#endif // BABELTRACE_CPP_COMMON_BT2_LIB_ERROR_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_LIB_ERROR_HPP */
index 471ac4775a18aaf673ae712a87e750cc5f3cabf4..10e1ee3a9fe83c9b222fb87c20eaeb35e84563fe 100644 (file)
@@ -22,6 +22,6 @@ enum class LoggingLevel
     NONE = BT_LOGGING_LEVEL_NONE,
 };
 
-} // namespace bt2
+} /* namespace bt2 */
 
-#endif // BABELTRACE_CPP_COMMON_BT2_LOGGING_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_LOGGING_HPP */
index 65404f3c270ca5453a4d0cf9ee1805a435366e21..8fd1f1d76f9b3b62c95f92a57f57d29bd07a6cbb 100644 (file)
@@ -41,7 +41,7 @@ struct MessageRefFuncs final
 template <typename ObjT, typename LibObjT>
 using SharedMessage = internal::SharedObj<ObjT, LibObjT, internal::MessageRefFuncs>;
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonStreamBeginningMessage;
@@ -176,7 +176,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonStreamBeginningMessageSpec;
 
-// Functions specific to mutable stream beginning messages
+/* Functions specific to mutable stream beginning messages */
 template <>
 struct CommonStreamBeginningMessageSpec<bt_message> final
 {
@@ -186,7 +186,7 @@ struct CommonStreamBeginningMessageSpec<bt_message> final
     }
 };
 
-// Functions specific to constant stream beginning messages
+/* Functions specific to constant stream beginning messages */
 template <>
 struct CommonStreamBeginningMessageSpec<const bt_message> final
 {
@@ -196,7 +196,7 @@ struct CommonStreamBeginningMessageSpec<const bt_message> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonStreamBeginningMessage final : public CommonMessage<LibObjT>
@@ -278,7 +278,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonStreamEndMessageSpec;
 
-// Functions specific to mutable stream end messages
+/* Functions specific to mutable stream end messages */
 template <>
 struct CommonStreamEndMessageSpec<bt_message> final
 {
@@ -288,7 +288,7 @@ struct CommonStreamEndMessageSpec<bt_message> final
     }
 };
 
-// Functions specific to constant stream end messages
+/* Functions specific to constant stream end messages */
 template <>
 struct CommonStreamEndMessageSpec<const bt_message> final
 {
@@ -298,7 +298,7 @@ struct CommonStreamEndMessageSpec<const bt_message> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonStreamEndMessage final : public CommonMessage<LibObjT>
@@ -379,7 +379,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonPacketBeginningMessageSpec;
 
-// Functions specific to mutable packet beginning messages
+/* Functions specific to mutable packet beginning messages */
 template <>
 struct CommonPacketBeginningMessageSpec<bt_message> final
 {
@@ -389,7 +389,7 @@ struct CommonPacketBeginningMessageSpec<bt_message> final
     }
 };
 
-// Functions specific to constant packet beginning messages
+/* Functions specific to constant packet beginning messages */
 template <>
 struct CommonPacketBeginningMessageSpec<const bt_message> final
 {
@@ -399,7 +399,7 @@ struct CommonPacketBeginningMessageSpec<const bt_message> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonPacketBeginningMessage final : public CommonMessage<LibObjT>
@@ -476,7 +476,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonPacketEndMessageSpec;
 
-// Functions specific to mutable packet end messages
+/* Functions specific to mutable packet end messages */
 template <>
 struct CommonPacketEndMessageSpec<bt_message> final
 {
@@ -486,7 +486,7 @@ struct CommonPacketEndMessageSpec<bt_message> final
     }
 };
 
-// Functions specific to constant packet end messages
+/* Functions specific to constant packet end messages */
 template <>
 struct CommonPacketEndMessageSpec<const bt_message> final
 {
@@ -496,7 +496,7 @@ struct CommonPacketEndMessageSpec<const bt_message> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonPacketEndMessage final : public CommonMessage<LibObjT>
@@ -572,7 +572,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonEventMessageSpec;
 
-// Functions specific to mutable event messages
+/* Functions specific to mutable event messages */
 template <>
 struct CommonEventMessageSpec<bt_message> final
 {
@@ -582,7 +582,7 @@ struct CommonEventMessageSpec<bt_message> final
     }
 };
 
-// Functions specific to constant event messages
+/* Functions specific to constant event messages */
 template <>
 struct CommonEventMessageSpec<const bt_message> final
 {
@@ -592,7 +592,7 @@ struct CommonEventMessageSpec<const bt_message> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonEventMessage final : public CommonMessage<LibObjT>
@@ -660,7 +660,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonDiscardedEventsMessageSpec;
 
-// Functions specific to mutable discarded events messages
+/* Functions specific to mutable discarded events messages */
 template <>
 struct CommonDiscardedEventsMessageSpec<bt_message> final
 {
@@ -670,7 +670,7 @@ struct CommonDiscardedEventsMessageSpec<bt_message> final
     }
 };
 
-// Functions specific to constant discarded events messages
+/* Functions specific to constant discarded events messages */
 template <>
 struct CommonDiscardedEventsMessageSpec<const bt_message> final
 {
@@ -680,7 +680,7 @@ struct CommonDiscardedEventsMessageSpec<const bt_message> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonDiscardedEventsMessage final : public CommonMessage<LibObjT>
@@ -778,7 +778,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonDiscardedPacketsMessageSpec;
 
-// Functions specific to mutable discarded packets messages
+/* Functions specific to mutable discarded packets messages */
 template <>
 struct CommonDiscardedPacketsMessageSpec<bt_message> final
 {
@@ -788,7 +788,7 @@ struct CommonDiscardedPacketsMessageSpec<bt_message> final
     }
 };
 
-// Functions specific to constant discarded packets messages
+/* Functions specific to constant discarded packets messages */
 template <>
 struct CommonDiscardedPacketsMessageSpec<const bt_message> final
 {
@@ -798,7 +798,7 @@ struct CommonDiscardedPacketsMessageSpec<const bt_message> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonDiscardedPacketsMessage final : public CommonMessage<LibObjT>
@@ -991,6 +991,6 @@ CommonMessage<LibObjT>::asMessageIteratorInactivity() const noexcept
     return CommonMessageIteratorInactivityMessage<LibObjT> {this->_libObjPtr()};
 }
 
-} // namespace bt2
+} /* namespace bt2 */
 
-#endif // BABELTRACE_CPP_COMMON_BT2_MESSAGE_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_MESSAGE_HPP */
index 62dc04e62ff9931e57ceead74fd30822d6dfc91e..c22d736cf4541b53dca009d1ba2f374b2dfb2af3 100644 (file)
@@ -49,7 +49,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonEventSpec;
 
-// Functions specific to mutable events
+/* Functions specific to mutable events */
 template <>
 struct CommonEventSpec<bt_event> final
 {
@@ -84,7 +84,7 @@ struct CommonEventSpec<bt_event> final
     }
 };
 
-// Functions specific to constant events
+/* Functions specific to constant events */
 template <>
 struct CommonEventSpec<const bt_event> final
 {
@@ -119,7 +119,7 @@ struct CommonEventSpec<const bt_event> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonEvent final : public internal::BorrowedObj<LibObjT>
@@ -257,7 +257,7 @@ struct PacketRefFuncs final
 template <typename LibObjT>
 struct CommonPacketSpec;
 
-// Functions specific to mutable packets
+/* Functions specific to mutable packets */
 template <>
 struct CommonPacketSpec<bt_packet> final
 {
@@ -272,7 +272,7 @@ struct CommonPacketSpec<bt_packet> final
     }
 };
 
-// Functions specific to constant packets
+/* Functions specific to constant packets */
 template <>
 struct CommonPacketSpec<const bt_packet> final
 {
@@ -287,7 +287,7 @@ struct CommonPacketSpec<const bt_packet> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonPacket final : public internal::BorrowedObj<LibObjT>
@@ -401,7 +401,7 @@ struct StreamRefFuncs final
 template <typename LibObjT>
 struct CommonStreamSpec;
 
-// Functions specific to mutable streams
+/* Functions specific to mutable streams */
 template <>
 struct CommonStreamSpec<bt_stream> final
 {
@@ -421,7 +421,7 @@ struct CommonStreamSpec<bt_stream> final
     }
 };
 
-// Functions specific to constant streams
+/* Functions specific to constant streams */
 template <>
 struct CommonStreamSpec<const bt_stream> final
 {
@@ -441,7 +441,7 @@ struct CommonStreamSpec<const bt_stream> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonStream final : public internal::BorrowedObj<LibObjT>
@@ -599,7 +599,7 @@ struct TraceRefFuncs final
 template <typename LibObjT>
 struct CommonTraceSpec;
 
-// Functions specific to mutable traces
+/* Functions specific to mutable traces */
 template <>
 struct CommonTraceSpec<bt_trace> final
 {
@@ -624,7 +624,7 @@ struct CommonTraceSpec<bt_trace> final
     }
 };
 
-// Functions specific to constant traces
+/* Functions specific to constant traces */
 template <>
 struct CommonTraceSpec<const bt_trace> final
 {
@@ -651,12 +651,12 @@ struct CommonTraceSpec<const bt_trace> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonTrace final : public internal::BorrowedObj<LibObjT>
 {
-    // Allow instantiate() to call `trace._libObjPtr()`
+    /* Allow instantiate() to call `trace._libObjPtr()` */
     friend class CommonStreamClass<bt_stream_class>;
 
 private:
@@ -916,7 +916,7 @@ struct EventClassRefFuncs final
 template <typename LibObjT>
 struct CommonEventClassSpec;
 
-// Functions specific to mutable event classes
+/* Functions specific to mutable event classes */
 template <>
 struct CommonEventClassSpec<bt_event_class> final
 {
@@ -941,7 +941,7 @@ struct CommonEventClassSpec<bt_event_class> final
     }
 };
 
-// Functions specific to constant event classes
+/* Functions specific to constant event classes */
 template <>
 struct CommonEventClassSpec<const bt_event_class> final
 {
@@ -967,7 +967,7 @@ struct CommonEventClassSpec<const bt_event_class> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonEventClass final : public internal::BorrowedObj<LibObjT>
@@ -1237,7 +1237,7 @@ struct StreamClassRefFuncs final
 template <typename LibObjT>
 struct CommonStreamClassSpec;
 
-// Functions specific to mutable stream classes
+/* Functions specific to mutable stream classes */
 template <>
 struct CommonStreamClassSpec<bt_stream_class> final
 {
@@ -1279,7 +1279,7 @@ struct CommonStreamClassSpec<bt_stream_class> final
     }
 };
 
-// Functions specific to constant stream classes
+/* Functions specific to constant stream classes */
 template <>
 struct CommonStreamClassSpec<const bt_stream_class> final
 {
@@ -1323,7 +1323,7 @@ struct CommonStreamClassSpec<const bt_stream_class> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonStreamClass final : public internal::BorrowedObj<LibObjT>
@@ -1752,7 +1752,7 @@ struct TraceClassRefFuncs final
 template <typename LibObjT>
 struct CommonTraceClassSpec;
 
-// Functions specific to mutable stream classes
+/* Functions specific to mutable stream classes */
 template <>
 struct CommonTraceClassSpec<bt_trace_class> final
 {
@@ -1774,7 +1774,7 @@ struct CommonTraceClassSpec<bt_trace_class> final
     }
 };
 
-// Functions specific to constant stream classes
+/* Functions specific to constant stream classes */
 template <>
 struct CommonTraceClassSpec<const bt_trace_class> final
 {
@@ -1796,7 +1796,7 @@ struct CommonTraceClassSpec<const bt_trace_class> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonTraceClass final : public internal::BorrowedObj<LibObjT>
@@ -2202,6 +2202,6 @@ typename CommonTrace<LibObjT>::Class CommonTrace<LibObjT>::cls() noexcept
     return Class {_Spec::cls(this->_libObjPtr())};
 }
 
-} // namespace bt2
+} /* namespace bt2 */
 
-#endif // BABELTRACE_CPP_COMMON_BT2_TRACE_IR_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_TRACE_IR_HPP */
index feedde27ba985688411ceef69d8c0c2af5c29bfb..a1a7d5010e22cfb9760abcb0ed2c8fd7f153f34f 100644 (file)
@@ -42,7 +42,7 @@ struct ValueRefFuncs final
 template <typename ObjT, typename LibObjT>
 using SharedValue = internal::SharedObj<ObjT, LibObjT, internal::ValueRefFuncs>;
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonNullValue;
@@ -101,13 +101,13 @@ class CommonStream;
 template <typename LibObjT>
 class CommonValue : public internal::BorrowedObj<LibObjT>
 {
-    // Allow append() to call `val._libObjPtr()`
+    /* Allow append() to call `val._libObjPtr()` */
     friend class CommonArrayValue<bt_value>;
 
-    // Allow insert() to call `val._libObjPtr()`
+    /* Allow insert() to call `val._libObjPtr()` */
     friend class CommonMapValue<bt_value>;
 
-    // Allow userAttributes() to call `val._libObjPtr()`
+    /* Allow userAttributes() to call `val._libObjPtr()` */
     friend class CommonClockClass<bt_clock_class>;
     friend class CommonFieldClass<bt_field_class>;
     friend class CommonTraceClass<bt_trace_class>;
@@ -115,7 +115,7 @@ class CommonValue : public internal::BorrowedObj<LibObjT>
     friend class CommonEventClass<bt_event_class>;
     friend class CommonStream<bt_stream>;
 
-    // Allow operator==() to call `other._libObjPtr()`
+    /* Allow operator==() to call `other._libObjPtr()` */
     friend class CommonValue<bt_value>;
     friend class CommonValue<const bt_value>;
 
@@ -600,7 +600,7 @@ namespace internal {
 template <typename LibObjT>
 struct CommonArrayValueSpec;
 
-// Functions specific to mutable array values
+/* Functions specific to mutable array values */
 template <>
 struct CommonArrayValueSpec<bt_value> final
 {
@@ -610,7 +610,7 @@ struct CommonArrayValueSpec<bt_value> final
     }
 };
 
-// Functions specific to constant array values
+/* Functions specific to constant array values */
 template <>
 struct CommonArrayValueSpec<const bt_value> final
 {
@@ -621,7 +621,7 @@ struct CommonArrayValueSpec<const bt_value> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonArrayValueIterator
@@ -923,7 +923,7 @@ LibStatusT mapValueForEachLibFunc(const char * const key, LibObjT * const libObj
 template <typename LibObjT>
 struct CommonMapValueSpec;
 
-// Functions specific to mutable map values
+/* Functions specific to mutable map values */
 template <>
 struct CommonMapValueSpec<bt_value> final
 {
@@ -954,7 +954,7 @@ struct CommonMapValueSpec<bt_value> final
     }
 };
 
-// Functions specific to constant map values
+/* Functions specific to constant map values */
 template <>
 struct CommonMapValueSpec<const bt_value> final
 {
@@ -987,7 +987,7 @@ struct CommonMapValueSpec<const bt_value> final
     }
 };
 
-} // namespace internal
+} /* namespace internal */
 
 template <typename LibObjT>
 class CommonMapValue final : public CommonValue<LibObjT>
@@ -1354,6 +1354,6 @@ inline StringValue::Shared createValue(const std::string& rawVal)
     return StringValue::create(rawVal);
 }
 
-} // namespace bt2
+} /* namespace bt2 */
 
-#endif // BABELTRACE_CPP_COMMON_BT2_VALUE_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_VALUE_HPP */
index 31b641e6bb7c96412a0895c037e2fa325f84aa77..35b0b0624180e2b0654fc6a4bf3c5c2d3c02622e 100644 (file)
@@ -59,6 +59,6 @@ private:
     const std::uint8_t *_mUuid;
 };
 
-} // namespace bt2_common
+} /* namespace bt2_common */
 
-#endif // BABELTRACE_CPP_COMMON_UUID_VIEW_HPP
+#endif /* BABELTRACE_CPP_COMMON_UUID_VIEW_HPP */
This page took 0.048561 seconds and 4 git commands to generate.