diff options
author | Douglas Gregor <dgregor@apple.com> | 2008-10-24 15:36:09 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2008-10-24 15:36:09 +0000 |
commit | 2f639b9f3c6b081f076d2ac6d75115ce44bfa249 (patch) | |
tree | 5d843979ac0cad8fe0068fdc4ca54d634e685385 /lib/Sema/SemaType.cpp | |
parent | ce1448bbbdc9366f9bb58e74da0f7a75b3e185cc (diff) |
Semantic analysis for C++ reinterpret_cast and const_cast. Patch by Sebastian Redl.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaType.cpp')
-rw-r--r-- | lib/Sema/SemaType.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index 82e16cfc31..a12ec3ad7c 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -541,7 +541,7 @@ QualType Sema::ObjCGetTypeForMethodDefinition(DeclTy *D) { /// true. If T1 and T2 aren't pointer types or pointer-to-member /// types, or if they are not similar at this level, returns false and /// leaves T1 and T2 unchanged. Top-level qualifiers on T1 and T2 are -/// ignord. This function will typically be called in a loop that +/// 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) |