[cfe-commits] r80175 - in /cfe/trunk/lib/Sema: Sema.h SemaType.cpp
Anders Carlsson
andersca at mac.com
Wed Aug 26 16:00:36 PDT 2009
Author: andersca
Date: Wed Aug 26 18:00:36 2009
New Revision: 80175
URL: http://llvm.org/viewvc/llvm-project?rev=80175&view=rev
Log:
Remove another unused argument.
Modified:
cfe/trunk/lib/Sema/Sema.h
cfe/trunk/lib/Sema/SemaType.cpp
Modified: cfe/trunk/lib/Sema/Sema.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/Sema.h?rev=80175&r1=80174&r2=80175&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/Sema.h (original)
+++ cfe/trunk/lib/Sema/Sema.h Wed Aug 26 18:00:36 2009
@@ -484,8 +484,7 @@
virtual TypeResult ActOnTypeName(Scope *S, Declarator &D);
bool RequireCompleteType(SourceLocation Loc, QualType T, unsigned diag,
- SourceRange Range1 = SourceRange(),
- SourceRange Range2 = SourceRange());
+ SourceRange Range1 = SourceRange());
bool RequireCompleteType(SourceLocation Loc, QualType T,
const PartialDiagnostic &PD);
Modified: cfe/trunk/lib/Sema/SemaType.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaType.cpp?rev=80175&r1=80174&r2=80175&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaType.cpp (original)
+++ cfe/trunk/lib/Sema/SemaType.cpp Wed Aug 26 18:00:36 2009
@@ -1771,9 +1771,9 @@
/// @returns @c true if @p T is incomplete and a diagnostic was emitted,
/// @c false otherwise.
bool Sema::RequireCompleteType(SourceLocation Loc, QualType T, unsigned diag,
- SourceRange Range1, SourceRange Range2) {
+ SourceRange Range1) {
return RequireCompleteType(Loc, T,
- PDiag(diag) << Range1 << Range2);
+ PDiag(diag) << Range1);
}
bool Sema::RequireCompleteType(SourceLocation Loc, QualType T,
More information about the cfe-commits
mailing list