aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/PCHReader.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-06-19 19:28:53 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-06-19 19:28:53 +0000
commit90b715e0df34eae2b50b9b43ec60828ed31dcf94 (patch)
treec45801a030245b443dd759bde3624fb6a9f0fa32 /lib/Frontend/PCHReader.cpp
parent4d3a7b0a0608febe3cdac68f6121546672ca875e (diff)
Initial support for writing templates to PCH.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106391 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHReader.cpp')
-rw-r--r--lib/Frontend/PCHReader.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Frontend/PCHReader.cpp b/lib/Frontend/PCHReader.cpp
index e555d9078f..99c28d4f03 100644
--- a/lib/Frontend/PCHReader.cpp
+++ b/lib/Frontend/PCHReader.cpp
@@ -2207,6 +2207,14 @@ QualType PCHReader::ReadTypeRecord(uint64_t Offset) {
QualType TST = GetType(Record[1]); // probably derivable
return Context->getInjectedClassNameType(D, TST);
}
+
+ case pch::TYPE_TEMPLATE_TYPE_PARM:
+ assert(false && "can't read template type parm types yet");
+ break;
+
+ case pch::TYPE_TEMPLATE_SPECIALIZATION:
+ assert(false && "can't read template specialization types yet");
+ break;
}
// Suppress a GCC warning
return QualType();