]> granicus.if.org Git - clang/commit
[libclang] Introduce options to control the priority for the threads
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 28 Mar 2012 02:18:05 +0000 (02:18 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 28 Mar 2012 02:18:05 +0000 (02:18 +0000)
commitfdc1795acc9d5d73a767cc7d43ad1546e93adbba
tree67f7fb7e785961ad689e7dd78c415300c3bf2a33
parentbbca564eec4eb841848a40014f7ddc9e5807125e
[libclang] Introduce options to control the priority for the threads
that libclang creates.

-Introduce CXGlobalOptFlags enum for the new options that can be
 set on the CXIndex object.

-CXGlobalOpt_ThreadBackgroundPriorityForIndexing affects:
  clang_indexSourceFile
  clang_indexTranslationUnit
  clang_parseTranslationUnit
  clang_saveTranslationUnit

-CXGlobalOpt_ThreadBackgroundPriorityForEditing affects:
  clang_reparseTranslationUnit
  clang_codeCompleteAt
  clang_annotateTokens

rdar://9075282

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153562 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
tools/libclang/CIndex.cpp
tools/libclang/CIndexCodeCompletion.cpp
tools/libclang/CIndexer.h
tools/libclang/CXTranslationUnit.h
tools/libclang/Indexing.cpp
tools/libclang/libclang.exports