summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHReaderDecl.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-14 03:18:02 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-14 03:18:02 +0000
commit664b690107211c5f1b772524afbef39fe2b8cd98 (patch)
treee9f99f08d926d28c273dcb1ead36e21aa7871a05 /clang/lib/Frontend/PCHReaderDecl.cpp
parent23e1f1d6be5e5f9f1fb71c341f7b3285624a762a (diff)
downloadbcm5719-llvm-664b690107211c5f1b772524afbef39fe2b8cd98.tar.gz
bcm5719-llvm-664b690107211c5f1b772524afbef39fe2b8cd98.zip
Read/write TagDecl's RBraceLoc from/to PCH files.
llvm-svn: 75592
Diffstat (limited to 'clang/lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r--clang/lib/Frontend/PCHReaderDecl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHReaderDecl.cpp b/clang/lib/Frontend/PCHReaderDecl.cpp
index 308d73febf8..e11729b6628 100644
--- a/clang/lib/Frontend/PCHReaderDecl.cpp
+++ b/clang/lib/Frontend/PCHReaderDecl.cpp
@@ -116,6 +116,7 @@ void PCHDeclReader::VisitTagDecl(TagDecl *TD) {
TD->setDefinition(Record[Idx++]);
TD->setTypedefForAnonDecl(
cast_or_null<TypedefDecl>(Reader.GetDecl(Record[Idx++])));
+ TD->setRBraceLoc(SourceLocation::getFromRawEncoding(Record[Idx++]));
}
void PCHDeclReader::VisitEnumDecl(EnumDecl *ED) {
OpenPOWER on IntegriCloud