diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-16 21:43:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-16 21:43:00 +0000 |
commit | ecb81f28cb279b7d8e84296445a4131fa80b69a9 (patch) | |
tree | 7214f54fa32e58bafb3e697ab9e8f2e68846cad1 /lib/Sema/SemaType.cpp | |
parent | bb99bdec7d3e704485baffae85938d24d35f0e0f (diff) |
random cleanup
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64673 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaType.cpp')
-rw-r--r-- | lib/Sema/SemaType.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index 00bfb13561..021e18e5d7 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -680,8 +680,7 @@ QualType Sema::ObjCGetTypeForMethodDefinition(DeclTy *D) { /// qualifiers on T1 and T2 are ignored. This function will typically /// be called in a loop that successively "unwraps" pointer and /// pointer-to-member types to compare them at each level. -bool Sema::UnwrapSimilarPointerTypes(QualType& T1, QualType& T2) -{ +bool Sema::UnwrapSimilarPointerTypes(QualType& T1, QualType& T2) { const PointerType *T1PtrType = T1->getAsPointerType(), *T2PtrType = T2->getAsPointerType(); if (T1PtrType && T2PtrType) { |