diff options
author | Mike Stump <mrs@apple.com> | 2009-05-16 07:39:55 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-05-16 07:39:55 +0000 |
commit | 390b4cc8b45a05612349269ef08faab3e4688f06 (patch) | |
tree | b98456ec626f3ed6d88aa89d02e279617514faa0 /lib/Sema/SemaOverload.cpp | |
parent | c6e35aae23bc3cea7daf5ee075fa695c01c0f66f (diff) |
Reflow some comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71936 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaOverload.cpp')
-rw-r--r-- | lib/Sema/SemaOverload.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index 50330e3f63..90da96b5fb 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/lib/Sema/SemaOverload.cpp @@ -745,8 +745,8 @@ bool Sema::IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType) // the bit-field is larger yet, no integral promotion applies to // it. If the bit-field has an enumerated type, it is treated as any // other value of that type for promotion purposes (C++ 4.5p3). - // FIXME: We should delay checking of bit-fields until we actually - // perform the conversion. + // FIXME: We should delay checking of bit-fields until we actually perform the + // conversion. using llvm::APSInt; if (From) if (FieldDecl *MemberDecl = From->getBitField()) { @@ -1141,8 +1141,8 @@ bool Sema::CheckPointerConversion(Expr *From, QualType ToType) { ToPointeeType = ToPtrType->getPointeeType(); // Objective-C++ conversions are always okay. - // FIXME: We should have a different class of conversions for - // the Objective-C++ implicit conversions. + // FIXME: We should have a different class of conversions for the + // Objective-C++ implicit conversions. if (Context.isObjCIdStructType(FromPointeeType) || Context.isObjCIdStructType(ToPointeeType) || Context.isObjCClassStructType(FromPointeeType) || @@ -2385,9 +2385,9 @@ void Sema::AddSurrogateCandidate(CXXConversionDecl *Conversion, } } -// FIXME: This will eventually be removed, once we've migrated all of -// the operator overloading logic over to the scheme used by binary -// operators, which works for template instantiation. +// FIXME: This will eventually be removed, once we've migrated all of the +// operator overloading logic over to the scheme used by binary operators, which +// works for template instantiation. void Sema::AddOperatorCandidates(OverloadedOperatorKind Op, Scope *S, SourceLocation OpLoc, Expr **Args, unsigned NumArgs, @@ -2580,8 +2580,8 @@ BuiltinCandidateTypeSet::AddPointerWithMoreQualifiedTypeVariants(QualType Ty) { QualType PointeeTy = PointerTy->getPointeeType(); // FIXME: Optimize this so that we don't keep trying to add the same types. - // FIXME: Do we have to add CVR qualifiers at *all* levels to deal - // with all pointer conversions that don't cast away constness? + // FIXME: Do we have to add CVR qualifiers at *all* levels to deal with all + // pointer conversions that don't cast away constness? if (!PointeeTy.isConstQualified()) AddPointerWithMoreQualifiedTypeVariants (Context.getPointerType(PointeeTy.withConst())); @@ -3546,8 +3546,8 @@ Sema::PrintOverloadCandidates(OverloadCandidateSet& CandidateSet, << FnType; } else { // FIXME: We need to get the identifier in here - // FIXME: Do we want the error message to point at the - // operator? (built-ins won't have a location) + // FIXME: Do we want the error message to point at the operator? + // (built-ins won't have a location) QualType FnType = Context.getFunctionType(Cand->BuiltinTypes.ResultTy, Cand->BuiltinTypes.ParamTypes, |