diff options
Diffstat (limited to 'clang/lib/Frontend/PCHWriterDecl.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHWriterDecl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHWriterDecl.cpp b/clang/lib/Frontend/PCHWriterDecl.cpp index 7a8f3e85021..9573d43c717 100644 --- a/clang/lib/Frontend/PCHWriterDecl.cpp +++ b/clang/lib/Frontend/PCHWriterDecl.cpp @@ -177,6 +177,9 @@ void TypeLocWriter::VisitDefaultTypeSpecLoc(DefaultTypeSpecLoc TyLoc) { void TypeLocWriter::VisitTypedefLoc(TypedefLoc TyLoc) { Writer.AddSourceLocation(TyLoc.getNameLoc(), Record); } +void TypeLocWriter::VisitObjCInterfaceLoc(ObjCInterfaceLoc TyLoc) { + Writer.AddSourceLocation(TyLoc.getNameLoc(), Record); +} void TypeLocWriter::VisitObjCProtocolListLoc(ObjCProtocolListLoc TyLoc) { Writer.AddSourceLocation(TyLoc.getLAngleLoc(), Record); Writer.AddSourceLocation(TyLoc.getRAngleLoc(), Record); |