From 076c22a99ed82e11b59e8fbf57d8467ceb3fec77 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Tue, 24 Aug 2010 00:31:37 +0000 Subject: [PATCH] Silence warning about C++-style comments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111875 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang-c/Index.h | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index 9615a6de39..4dfaec030d 100644 --- a/include/clang-c/Index.h +++ b/include/clang-c/Index.h @@ -97,16 +97,24 @@ struct CXUnsavedFile { unsigned long Length; }; -/// \brief Describes the availability of a particular entity, which indicates -/// whether the use of this entity will result in a warning or error due to -/// it being deprecated or unavailable. +/** + * \brief Describes the availability of a particular entity, which indicates + * whether the use of this entity will result in a warning or error due to + * it being deprecated or unavailable. + */ enum CXAvailabilityKind { - /// \brief The entity is available. + /** + * \brief The entity is available. + */ CXAvailability_Available, - /// \brief The entity is available, but has been deprecated (and its use is - /// not recommended). + /** + * \brief The entity is available, but has been deprecated (and its use is + * not recommended). + */ CXAvailability_Deprecated, - /// \brief The entity is not available; any use of it will be an error. + /** + * \brief The entity is not available; any use of it will be an error. + */ CXAvailability_NotAvailable }; -- 2.50.1