Lines Matching refs:DE

41                                     const LogDiagnosticPrinter::DiagEntry &DE) {  in EmitDiagEntry()  argument
45 EmitString(OS, getLevelName(DE.DiagnosticLevel)) << '\n'; in EmitDiagEntry()
46 if (!DE.Filename.empty()) { in EmitDiagEntry()
49 EmitString(OS, DE.Filename) << '\n'; in EmitDiagEntry()
51 if (DE.Line != 0) { in EmitDiagEntry()
54 EmitInteger(OS, DE.Line) << '\n'; in EmitDiagEntry()
56 if (DE.Column != 0) { in EmitDiagEntry()
59 EmitInteger(OS, DE.Column) << '\n'; in EmitDiagEntry()
61 if (!DE.Message.empty()) { in EmitDiagEntry()
64 EmitString(OS, DE.Message) << '\n'; in EmitDiagEntry()
68 EmitInteger(OS, DE.DiagnosticID) << '\n'; in EmitDiagEntry()
69 if (!DE.WarningOption.empty()) { in EmitDiagEntry()
72 EmitString(OS, DE.WarningOption) << '\n'; in EmitDiagEntry()
104 for (auto &DE : Entries) in EndSourceFile() local
105 EmitDiagEntry(OS, DE); in EndSourceFile()
129 DiagEntry DE; in HandleDiagnostic() local
130 DE.DiagnosticID = Info.getID(); in HandleDiagnostic()
131 DE.DiagnosticLevel = Level; in HandleDiagnostic()
133 DE.WarningOption = DiagnosticIDs::getWarningOptionForDiag(DE.DiagnosticID); in HandleDiagnostic()
138 DE.Message = MessageStr.str(); in HandleDiagnostic()
141 DE.Filename = ""; in HandleDiagnostic()
142 DE.Line = DE.Column = 0; in HandleDiagnostic()
153 DE.Filename = FE->getName(); in HandleDiagnostic()
156 DE.Filename = PLoc.getFilename(); in HandleDiagnostic()
157 DE.Line = PLoc.getLine(); in HandleDiagnostic()
158 DE.Column = PLoc.getColumn(); in HandleDiagnostic()
163 Entries.push_back(DE); in HandleDiagnostic()