Avoid the -Wdocumentation-unknown-command warning in Clang's C API docs
authorAlex Lorenz <arphaman@gmail.com>
Thu, 6 Apr 2017 14:03:25 +0000 (14:03 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 6 Apr 2017 14:03:25 +0000 (14:03 +0000)
rdar://20441985

llvm-svn: 299650

clang/include/clang-c/Index.h

index e334241..1ac2b7f 100644 (file)
@@ -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