summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHReaderDecl.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-09-29 19:45:22 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-09-29 19:45:22 +0000
commit0643e333a3e433808e5e622c22b1d1e83f9883b4 (patch)
treeabe6af2665ec52208f07682f789923c0eb217cfe /clang/lib/Frontend/PCHReaderDecl.cpp
parentd4bcfaf3515213ebcf771923696397504a1ad891 (diff)
downloadbcm5719-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.cpp3
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++]));
OpenPOWER on IntegriCloud