diff options
Diffstat (limited to 'lib/Sema/SemaType.cpp')
-rw-r--r-- | lib/Sema/SemaType.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index 972ac82b4c..4889a56513 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -128,10 +128,9 @@ QualType Sema::ConvertDeclSpecToType(const DeclSpec &DS, Diag(DeclLoc, diag::warn_missing_type_specifier) << DS.getSourceRange(); - // FIXME: If we could guarantee that the result would be - // well-formed, it would be useful to have a code insertion hint - // here. However, after emitting this warning/error, we often - // emit other errors. + // FIXME: If we could guarantee that the result would be well-formed, it + // would be useful to have a code insertion hint here. However, after + // emitting this warning/error, we often emit other errors. } // FALL THROUGH. @@ -191,8 +190,8 @@ QualType Sema::ConvertDeclSpecToType(const DeclSpec &DS, Result = QualType::getFromOpaquePtr(DS.getTypeRep()); if (DeclSpec::ProtocolQualifierListTy PQ = DS.getProtocolQualifiers()) { - // FIXME: Adding a TST_objcInterface clause doesn't seem ideal, so - // we have this "hack" for now... + // FIXME: Adding a TST_objcInterface clause doesn't seem ideal, so we have + // this "hack" for now... if (const ObjCInterfaceType *Interface = Result->getAsObjCInterfaceType()) Result = Context.getObjCQualifiedInterfaceType(Interface->getDecl(), (ObjCProtocolDecl**)PQ, |