From 58d5f3fdad91eebf8c94a9c648bef52eb1c7904b Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Wed, 28 Mar 2012 02:49:54 +0000 Subject: [libclang] Rename setBackGroundPriority -> setThreadBackgroundPriority. llvm-svn: 153566 --- clang/tools/libclang/Indexing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/tools/libclang/Indexing.cpp') 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(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)); -- cgit v1.2.3