[clang-tools-extra] r333083 - Replace last DEBUG occurrence with LLVM_DEBUG.
Nicola Zaghen via cfe-commits
cfe-commits at lists.llvm.org
Wed May 23 06:57:48 PDT 2018
Author: nzaghen
Date: Wed May 23 06:57:48 2018
New Revision: 333083
URL: http://llvm.org/viewvc/llvm-project?rev=333083&view=rev
Log:
Replace last DEBUG occurrence with LLVM_DEBUG.
Modified:
clang-tools-extra/trunk/clangd/CodeComplete.cpp
Modified: clang-tools-extra/trunk/clangd/CodeComplete.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/CodeComplete.cpp?rev=333083&r1=333082&r2=333083&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/CodeComplete.cpp (original)
+++ clang-tools-extra/trunk/clangd/CodeComplete.cpp Wed May 23 06:57:48 2018
@@ -1004,11 +1004,11 @@ private:
Scores.symbolScore =
Scores.filterScore ? Scores.finalScore / Scores.filterScore : QualScore;
- DEBUG(llvm::dbgs() << "CodeComplete: " << C.Name
- << (IndexResult ? " (index)" : "")
- << (SemaResult ? " (sema)" : "") << " = "
- << Scores.finalScore << "\n"
- << Quality << Relevance << "\n");
+ LLVM_DEBUG(llvm::dbgs()
+ << "CodeComplete: " << C.Name << (IndexResult ? " (index)" : "")
+ << (SemaResult ? " (sema)" : "") << " = " << Scores.finalScore
+ << "\n"
+ << Quality << Relevance << "\n");
NSema += bool(SemaResult);
NIndex += bool(IndexResult);
More information about the cfe-commits
mailing list