Deleted Added
full compact
CodeCompleteConsumer.cpp (206275) CodeCompleteConsumer.cpp (207619)
1//===--- CodeCompleteConsumer.cpp - Code Completion Interface ---*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 72 unchanged lines hidden (view full) ---

81 this->Text = ">";
82 break;
83
84 case CK_Comma:
85 this->Text = ", ";
86 break;
87
88 case CK_Colon:
1//===--- CodeCompleteConsumer.cpp - Code Completion Interface ---*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 72 unchanged lines hidden (view full) ---

81 this->Text = ">";
82 break;
83
84 case CK_Comma:
85 this->Text = ", ";
86 break;
87
88 case CK_Colon:
89 this->Text = ": ";
89 this->Text = ":";
90 break;
91
92 case CK_SemiColon:
93 this->Text = ";";
94 break;
95
96 case CK_Equal:
97 this->Text = " = ";

--- 322 unchanged lines hidden (view full) ---

420PrintingCodeCompleteConsumer::ProcessCodeCompleteResults(Sema &SemaRef,
421 Result *Results,
422 unsigned NumResults) {
423 // Print the results.
424 for (unsigned I = 0; I != NumResults; ++I) {
425 OS << "COMPLETION: ";
426 switch (Results[I].Kind) {
427 case Result::RK_Declaration:
90 break;
91
92 case CK_SemiColon:
93 this->Text = ";";
94 break;
95
96 case CK_Equal:
97 this->Text = " = ";

--- 322 unchanged lines hidden (view full) ---

420PrintingCodeCompleteConsumer::ProcessCodeCompleteResults(Sema &SemaRef,
421 Result *Results,
422 unsigned NumResults) {
423 // Print the results.
424 for (unsigned I = 0; I != NumResults; ++I) {
425 OS << "COMPLETION: ";
426 switch (Results[I].Kind) {
427 case Result::RK_Declaration:
428 OS << Results[I].Declaration->getNameAsString() ;
428 OS << Results[I].Declaration;
429 if (Results[I].Hidden)
430 OS << " (Hidden)";
431 if (CodeCompletionString *CCS
432 = Results[I].CreateCodeCompletionString(SemaRef)) {
433 OS << " : " << CCS->getAsString();
434 delete CCS;
435 }
436

--- 191 unchanged lines hidden ---
429 if (Results[I].Hidden)
430 OS << " (Hidden)";
431 if (CodeCompletionString *CCS
432 = Results[I].CreateCodeCompletionString(SemaRef)) {
433 OS << " : " << CCS->getAsString();
434 delete CCS;
435 }
436

--- 191 unchanged lines hidden ---