[PATCH] D146275: [libclang] Fix documentation; NFC

Igor Kushnir via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 17 01:24:56 PDT 2023


vedgy created this revision.
Herald added subscribers: mikhail.ramalho, arphaman.
Herald added a project: All.
vedgy requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Fixes cc929590ad305f0d068709c7c7999f5fc6118dc9 <https://reviews.llvm.org/rGcc929590ad305f0d068709c7c7999f5fc6118dc9>. The
CXIndexOptions::GlobalOptions data member has been replaced with the two
CXChoice data members during code review.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146275

Files:
  clang/include/clang-c/Index.h


Index: clang/include/clang-c/Index.h
===================================================================
--- clang/include/clang-c/Index.h
+++ clang/include/clang-c/Index.h
@@ -445,7 +445,9 @@
 /**
  * Sets general options associated with a CXIndex.
  *
- * This function is DEPRECATED. Set CXIndexOptions::GlobalOptions and call
+ * This function is DEPRECATED. Set
+ * CXIndexOptions::ThreadBackgroundPriorityForIndexing and/or
+ * CXIndexOptions::ThreadBackgroundPriorityForEditing and call
  * clang_createIndexWithOptions() instead.
  *
  * For example:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146275.506002.patch
Type: text/x-patch
Size: 559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230317/bb83c144/attachment-0001.bin>


More information about the cfe-commits mailing list