diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-03-26 23:25:35 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-03-26 23:25:35 +0000 |
| commit | 78d315f646950b6fe9d8d8209b38819376749819 (patch) | |
| tree | ed22246cf4438d6c0aeae6e5aa8206c413449a83 /clang/lib | |
| parent | 30837102a2ef32218c5d95d372b9ab3561733b6c (diff) | |
| download | bcm5719-llvm-78d315f646950b6fe9d8d8209b38819376749819.tar.gz bcm5719-llvm-78d315f646950b6fe9d8d8209b38819376749819.zip | |
Remove unused static function
llvm-svn: 99666
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Sema/SemaExprCXX.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp index 5a412920415..23c30696e17 100644 --- a/clang/lib/Sema/SemaExprCXX.cpp +++ b/clang/lib/Sema/SemaExprCXX.cpp @@ -1896,23 +1896,6 @@ QualType Sema::CheckPointerToMemberOperands( return Result; } -/// \brief Get the target type of a standard or user-defined conversion. -static QualType TargetType(const ImplicitConversionSequence &ICS) { - switch (ICS.getKind()) { - case ImplicitConversionSequence::StandardConversion: - return ICS.Standard.getToType(2); - case ImplicitConversionSequence::UserDefinedConversion: - return ICS.UserDefined.After.getToType(2); - case ImplicitConversionSequence::AmbiguousConversion: - return ICS.Ambiguous.getToType(); - - case ImplicitConversionSequence::EllipsisConversion: - case ImplicitConversionSequence::BadConversion: - llvm_unreachable("function not valid for ellipsis or bad conversions"); - } - return QualType(); // silence warnings -} - /// \brief Try to convert a type to another according to C++0x 5.16p3. /// /// This is part of the parameter validation for the ? operator. If either |

