Skip to content

Commit 21af511

Browse files
Do not try to handle impossible cases in writeBareSourceLocation
1 parent bb367c1 commit 21af511

File tree

2 files changed

+436
-1866
lines changed

2 files changed

+436
-1866
lines changed

clang/include/clang/AST/JSONNodeDumper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class JSONNodeDumper
149149
void writeIncludeStack(PresumedLoc Loc, bool JustFirst = false);
150150

151151
// Writes the attributes of a SourceLocation object without.
152-
void writeBareSourceLocation(SourceLocation Loc, bool IsSpelling);
152+
void writeBareSourceLocation(SourceLocation Loc);
153153

154154
// Writes the attributes of a SourceLocation to JSON based on its presumed
155155
// spelling location. If the given location represents a macro invocation,

0 commit comments

Comments
 (0)