Skip to content

Commit

Permalink
Replace last DEBUG occurrence with LLVM_DEBUG.
Browse files Browse the repository at this point in the history
llvm-svn: 333083
  • Loading branch information
nzaghen committed May 23, 2018
1 parent 9581c33 commit c9fed13
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions clang-tools-extra/clangd/CodeComplete.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1004,11 +1004,11 @@ class CodeCompleteFlow {
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);
Expand Down

0 comments on commit c9fed13

Please sign in to comment.