diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-14 21:06:31 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-14 21:06:31 +0000 |
commit | 24c332b140e10b286e0e094c95972407feabd4eb (patch) | |
tree | 67e805b830a7b4f72693d0b69cd1026706906103 /clang/lib/Frontend/PCHReaderDecl.cpp | |
parent | 339869e9865d1c258ef1f442a63751fb6296cd8f (diff) | |
download | bcm5719-llvm-24c332b140e10b286e0e094c95972407feabd4eb.tar.gz bcm5719-llvm-24c332b140e10b286e0e094c95972407feabd4eb.zip |
Link FunctionDecls instantiated from the member functions of a class
template to the FunctionDecls from which they were instantiated. This
is a necessary first step to support instantiation of the definitions
of such functions, but by itself does essentially nothing.
llvm-svn: 71792
Diffstat (limited to 'clang/lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHReaderDecl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHReaderDecl.cpp b/clang/lib/Frontend/PCHReaderDecl.cpp index 3db00ec1b71..9dd15658903 100644 --- a/clang/lib/Frontend/PCHReaderDecl.cpp +++ b/clang/lib/Frontend/PCHReaderDecl.cpp @@ -155,6 +155,7 @@ void PCHDeclReader::VisitFunctionDecl(FunctionDecl *FD) { FD->setHasPrototype(Record[Idx++]); FD->setDeleted(Record[Idx++]); FD->setTypeSpecStartLoc(SourceLocation::getFromRawEncoding(Record[Idx++])); + // FIXME: C++ TemplateOrInstantiation unsigned NumParams = Record[Idx++]; llvm::SmallVector<ParmVarDecl *, 16> Params; Params.reserve(NumParams); |