diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-08-05 05:36:45 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-08-05 05:36:45 +0000 |
commit | 2211d345d26d9f7adeb24b21cea96bae1084c15b (patch) | |
tree | 2a723ff8eefeafe2e0e1dffb17467e2edeb21b96 /clang/lib/Frontend/PCHReader.cpp | |
parent | 8c7956985326addc15b001ae419f31db4f668b5e (diff) | |
download | bcm5719-llvm-2211d345d26d9f7adeb24b21cea96bae1084c15b.tar.gz bcm5719-llvm-2211d345d26d9f7adeb24b21cea96bae1084c15b.zip |
Introduce the canonical type smart pointers, and use them in a few places to
tighten up the static type system.
llvm-svn: 78164
Diffstat (limited to 'clang/lib/Frontend/PCHReader.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHReader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Frontend/PCHReader.cpp b/clang/lib/Frontend/PCHReader.cpp index 61be4da5b74..aab5dd8783f 100644 --- a/clang/lib/Frontend/PCHReader.cpp +++ b/clang/lib/Frontend/PCHReader.cpp @@ -2380,15 +2380,15 @@ PCHReader::ReadDeclarationName(const RecordData &Record, unsigned &Idx) { case DeclarationName::CXXConstructorName: return Context->DeclarationNames.getCXXConstructorName( - GetType(Record[Idx++])); + Context->getCanonicalType(GetType(Record[Idx++]))); case DeclarationName::CXXDestructorName: return Context->DeclarationNames.getCXXDestructorName( - GetType(Record[Idx++])); + Context->getCanonicalType(GetType(Record[Idx++]))); case DeclarationName::CXXConversionFunctionName: return Context->DeclarationNames.getCXXConversionFunctionName( - GetType(Record[Idx++])); + Context->getCanonicalType(GetType(Record[Idx++]))); case DeclarationName::CXXOperatorName: return Context->DeclarationNames.getCXXOperatorName( |