Skip to content

Commit f340426

Browse files
committed
Fix infinite recursion
1 parent 33e546e commit f340426

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/include/clang/AST/TypeLoc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2790,6 +2790,7 @@ class PredefinedSugarTypeLoc final
27902790
PredefinedSugarType, PredefinedSugarTypeLocInfo> {
27912791
public:
27922792
void initializeLocal(ASTContext &Context, SourceLocation loc) {}
2793+
SourceRange getLocalSourceRange() const { return {}; }
27932794
};
27942795

27952796
} // namespace clang

0 commit comments

Comments
 (0)