diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-01-11 19:00:50 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-01-11 19:00:50 +0000 |
| commit | 217604ac719f9674bd075e07e27bf84e0305a70b (patch) | |
| tree | 3581e6049b8bd8e32b758ba5fac64500f1c093f1 /clang/lib/Sema/SemaOverload.cpp | |
| parent | 81e7fb15e9273f72c1cf6e72f7608759c07e0642 (diff) | |
| download | bcm5719-llvm-217604ac719f9674bd075e07e27bf84e0305a70b.tar.gz bcm5719-llvm-217604ac719f9674bd075e07e27bf84e0305a70b.zip | |
Remove some pointless FIXMEs. No functionality change
llvm-svn: 93168
Diffstat (limited to 'clang/lib/Sema/SemaOverload.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaOverload.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp index 3dd85d98806..e1d32497d92 100644 --- a/clang/lib/Sema/SemaOverload.cpp +++ b/clang/lib/Sema/SemaOverload.cpp @@ -639,7 +639,6 @@ Sema::IsStandardConversion(Expr* From, QualType ToType, } else if ((FromType->isIntegralType() || FromType->isEnumeralType()) && (ToType->isIntegralType() && !ToType->isEnumeralType())) { // Integral conversions (C++ 4.7). - // FIXME: isIntegralType shouldn't be true for enums in C++. SCS.Second = ICK_Integral_Conversion; FromType = ToType.getUnqualifiedType(); } else if (FromType->isFloatingType() && ToType->isFloatingType()) { @@ -656,7 +655,6 @@ Sema::IsStandardConversion(Expr* From, QualType ToType, ((FromType->isIntegralType() || FromType->isEnumeralType()) && ToType->isFloatingType())) { // Floating-integral conversions (C++ 4.9). - // FIXME: isIntegralType shouldn't be true for enums in C++. SCS.Second = ICK_Floating_Integral; FromType = ToType.getUnqualifiedType(); } else if ((FromType->isComplexType() && ToType->isArithmeticType()) || @@ -2468,8 +2466,6 @@ void Sema::AddMethodCandidate(NamedDecl *Decl, Expr **Args, unsigned NumArgs, OverloadCandidateSet& CandidateSet, bool SuppressUserConversions, bool ForceRValue) { - - // FIXME: use this CXXRecordDecl *ActingContext = cast<CXXRecordDecl>(Decl->getDeclContext()); if (isa<UsingShadowDecl>(Decl)) @@ -4789,7 +4785,6 @@ FunctionDecl *Sema::ResolveSingleFunctionTemplateSpecialization(Expr *From) { // resulting template argument list is used to generate a single // function template specialization, which is added to the set of // overloaded functions considered. - // FIXME: We don't really want to build the specialization here, do we? FunctionDecl *Specialization = 0; TemplateDeductionInfo Info(Context); if (TemplateDeductionResult Result |

