diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-09-29 19:45:22 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-09-29 19:45:22 +0000 |
commit | 0643e333a3e433808e5e622c22b1d1e83f9883b4 (patch) | |
tree | abe6af2665ec52208f07682f789923c0eb217cfe /clang/lib/Frontend/PCHReaderDecl.cpp | |
parent | d4bcfaf3515213ebcf771923696397504a1ad891 (diff) | |
download | bcm5719-llvm-0643e333a3e433808e5e622c22b1d1e83f9883b4.tar.gz bcm5719-llvm-0643e333a3e433808e5e622c22b1d1e83f9883b4.zip |
Introduce ObjCInterfaceLoc which provides type source information for ObjC interfaces.
llvm-svn: 83097
Diffstat (limited to 'clang/lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHReaderDecl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHReaderDecl.cpp b/clang/lib/Frontend/PCHReaderDecl.cpp index 550f4dba799..9b28e8bac79 100644 --- a/clang/lib/Frontend/PCHReaderDecl.cpp +++ b/clang/lib/Frontend/PCHReaderDecl.cpp @@ -179,6 +179,9 @@ void TypeLocReader::VisitDefaultTypeSpecLoc(DefaultTypeSpecLoc TyLoc) { void TypeLocReader::VisitTypedefLoc(TypedefLoc TyLoc) { TyLoc.setNameLoc(SourceLocation::getFromRawEncoding(Record[Idx++])); } +void TypeLocReader::VisitObjCInterfaceLoc(ObjCInterfaceLoc TyLoc) { + TyLoc.setNameLoc(SourceLocation::getFromRawEncoding(Record[Idx++])); +} void TypeLocReader::VisitObjCProtocolListLoc(ObjCProtocolListLoc TyLoc) { TyLoc.setLAngleLoc(SourceLocation::getFromRawEncoding(Record[Idx++])); TyLoc.setRAngleLoc(SourceLocation::getFromRawEncoding(Record[Idx++])); |