}
}
-bool Sema::CheckOverridingFunctionAttributes(const CXXMethodDecl *New,\r
+bool Sema::CheckOverridingFunctionAttributes(const CXXMethodDecl *New,
const CXXMethodDecl *Old) {
const FunctionType *NewFT = New->getType()->getAs<FunctionType>();
const FunctionType *OldFT = Old->getType()->getAs<FunctionType>();
// If the calling conventions still don't match, then report the error
if (NewCC != OldCC) {
- Diag(New->getLocation(),\r
- diag::err_conflicting_overriding_cc_attributes)\r
- << New->getDeclName() << New->getType() << Old->getType();\r
- Diag(Old->getLocation(), diag::note_overridden_virtual_function);\r
- return true;\r
+ Diag(New->getLocation(),
+ diag::err_conflicting_overriding_cc_attributes)
+ << New->getDeclName() << New->getType() << Old->getType();
+ Diag(Old->getLocation(), diag::note_overridden_virtual_function);
+ return true;
}
return false;