diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-03-28 02:49:54 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-03-28 02:49:54 +0000 |
commit | 81b5ac39a97cde1a54b8d0eb7105290c40eb84d7 (patch) | |
tree | 12d0a4daa6f1d0895c3e3f3b1e66aff3e25cb2d7 /tools/libclang/Indexing.cpp | |
parent | 8e7c48a54b4325925f5edda1738a3537ab2c3c5e (diff) |
[libclang] Rename setBackGroundPriority -> setThreadBackgroundPriority.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/Indexing.cpp')
-rw-r--r-- | tools/libclang/Indexing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libclang/Indexing.cpp b/tools/libclang/Indexing.cpp index 905569dccd..6ece54857a 100644 --- a/tools/libclang/Indexing.cpp +++ b/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)); |