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 | 50d62d1b4a98adbc83de8f8cd1379ea1c25656f7 (patch) | |
tree | acbdf51eb2a3ea3b6b4a7db47c97e97233d83b55 /lib/Sema/SemaExprCXX.cpp | |
parent | 4ed459851eef142f2059af7ae487484e8a14fc67 (diff) |
Introduce the canonical type smart pointers, and use them in a few places to
tighten up the static type system.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExprCXX.cpp')
-rw-r--r-- | lib/Sema/SemaExprCXX.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaExprCXX.cpp b/lib/Sema/SemaExprCXX.cpp index e31f9edb61..2ebd7b184d 100644 --- a/lib/Sema/SemaExprCXX.cpp +++ b/lib/Sema/SemaExprCXX.cpp @@ -32,7 +32,7 @@ Sema::ActOnCXXConversionFunctionExpr(Scope *S, SourceLocation OperatorLoc, const CXXScopeSpec &SS, bool isAddressOfOperand) { QualType ConvType = QualType::getFromOpaquePtr(Ty); - QualType ConvTypeCanon = Context.getCanonicalType(ConvType); + CanQualType ConvTypeCanon = Context.getCanonicalType(ConvType); DeclarationName ConvName = Context.DeclarationNames.getCXXConversionFunctionName(ConvTypeCanon); return ActOnDeclarationNameExpr(S, OperatorLoc, ConvName, HasTrailingLParen, |