summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/Indexing.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-03-28 02:49:54 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-03-28 02:49:54 +0000
commit58d5f3fdad91eebf8c94a9c648bef52eb1c7904b (patch)
treea9bd006c7db6443933183fa54e0a30c6d6a25095 /clang/tools/libclang/Indexing.cpp
parent5710913c25da9dd54b1325b94d1ffa42bf9338d5 (diff)
downloadbcm5719-llvm-58d5f3fdad91eebf8c94a9c648bef52eb1c7904b.tar.gz
bcm5719-llvm-58d5f3fdad91eebf8c94a9c648bef52eb1c7904b.zip
[libclang] Rename setBackGroundPriority -> setThreadBackgroundPriority.
llvm-svn: 153566
Diffstat (limited to 'clang/tools/libclang/Indexing.cpp')
-rw-r--r--clang/tools/libclang/Indexing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/tools/libclang/Indexing.cpp b/clang/tools/libclang/Indexing.cpp
index 905569dccd1..6ece54857a6 100644
--- a/clang/tools/libclang/Indexing.cpp
+++ b/clang/tools/libclang/Indexing.cpp
@@ -276,7 +276,7 @@ static void clang_indexSourceFile_Impl(void *UserData) {
CIndexer *CXXIdx = static_cast<CIndexer *>(CIdx);
if (CXXIdx->isOptEnabled(CXGlobalOpt_ThreadBackgroundPriorityForIndexing))
- setBackGroundPriority();
+ setThreadBackgroundPriority();
CaptureDiagnosticConsumer *CaptureDiag = new CaptureDiagnosticConsumer();
@@ -507,7 +507,7 @@ static void clang_indexTranslationUnit_Impl(void *UserData) {
CIndexer *CXXIdx = (CIndexer*)TU->CIdx;
if (CXXIdx->isOptEnabled(CXGlobalOpt_ThreadBackgroundPriorityForIndexing))
- setBackGroundPriority();
+ setThreadBackgroundPriority();
IndexerCallbacks CB;
memset(&CB, 0, sizeof(CB));
OpenPOWER on IntegriCloud