From 3a677b92ae3d038b3a9b1d16fd63faec87c5b901 Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Thu, 6 Apr 2017 14:03:25 +0000 Subject: [PATCH] Avoid the -Wdocumentation-unknown-command warning in Clang's C API docs rdar://20441985 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299650 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang-c/Index.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index e33424138d..1ac2b7f802 100644 --- a/include/clang-c/Index.h +++ b/include/clang-c/Index.h @@ -4034,8 +4034,8 @@ CINDEX_LINKAGE unsigned clang_Cursor_getObjCDeclQualifiers(CXCursor C); /** * \brief Given a cursor that represents an Objective-C method or property - * declaration, return non-zero if the declaration was affected by "@optional". - * Returns zero if the cursor is not such a declaration or it is "@required". + * declaration, return non-zero if the declaration was affected by "\@optional". + * Returns zero if the cursor is not such a declaration or it is "\@required". */ CINDEX_LINKAGE unsigned clang_Cursor_isObjCOptional(CXCursor C); @@ -4711,7 +4711,7 @@ enum CXCompletionChunkKind { */ CXCompletionChunk_HorizontalSpace, /** - * Vertical space ('\n'), after which it is generally a good idea to + * Vertical space ('\\n'), after which it is generally a good idea to * perform indentation. */ CXCompletionChunk_VerticalSpace -- 2.40.0