summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHReaderDecl.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-20 08:09:34 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-20 08:09:34 +0000
commit1ead0b42dbb1417bf5bb89d5fa9f0c4182e7ce02 (patch)
treeed95878a13b566cae6c457db460aa2888dad86e1 /clang/lib/Frontend/PCHReaderDecl.cpp
parenta3aeb5a8f1e5fc9d060e160fd8a3eb80d864e9a9 (diff)
downloadbcm5719-llvm-1ead0b42dbb1417bf5bb89d5fa9f0c4182e7ce02.tar.gz
bcm5719-llvm-1ead0b42dbb1417bf5bb89d5fa9f0c4182e7ce02.zip
Serialize FunctionDecl's EndRangeLoc out to the PCH file.
llvm-svn: 73822
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 27a08696320..3dd84c7b08a 100644
--- a/clang/lib/Frontend/PCHReaderDecl.cpp
+++ b/clang/lib/Frontend/PCHReaderDecl.cpp
@@ -157,6 +157,7 @@ void PCHDeclReader::VisitFunctionDecl(FunctionDecl *FD) {
FD->setHasWrittenPrototype(Record[Idx++]);
FD->setDeleted(Record[Idx++]);
FD->setTypeSpecStartLoc(SourceLocation::getFromRawEncoding(Record[Idx++]));
+ FD->setLocEnd(SourceLocation::getFromRawEncoding(Record[Idx++]));
// FIXME: C++ TemplateOrInstantiation
unsigned NumParams = Record[Idx++];
llvm::SmallVector<ParmVarDecl *, 16> Params;
OpenPOWER on IntegriCloud