File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ Expr *swift::expandMacroExpr(
190190 {
191191 llvm::raw_string_ostream out (bufferName);
192192
193- out << " Macro expansion of # " << macro->getName ();
193+ out << " macro: " << macro->getName (). getBaseName ();
194194 if (auto bufferID = sourceFile->getBufferID ()) {
195195 unsigned startLine, startColumn;
196196 std::tie (startLine, startColumn) =
@@ -202,7 +202,7 @@ Expr *swift::expandMacroExpr(
202202 std::tie (endLine, endColumn) =
203203 sourceMgr.getLineAndColumnInBuffer (endLoc, *bufferID);
204204
205- out << " in " << sourceMgr.getIdentifierForBuffer (*bufferID) << " :"
205+ out << " : " << sourceMgr.getIdentifierForBuffer (*bufferID) << " :"
206206 << startLine << " :" << startColumn
207207 << " -" << endLine << " :" << endColumn;
208208 }
You can’t perform that action at this time.
0 commit comments