diff options
author | Anders Carlsson <andersca@mac.com> | 2009-08-26 22:59:12 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-08-26 22:59:12 +0000 |
commit | d497ba7ca5e52cd4523822055abd5e89dfec1800 (patch) | |
tree | 9602a0d15dae8e59dfbcd6db1ed8a4fc0db799b1 /lib/Sema/SemaType.cpp | |
parent | bd4c4aebe6035e7a7125470cc9f0f92511230ee3 (diff) |
Remove the PrintType argument from RequireCompleteType.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80174 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaType.cpp')
-rw-r--r-- | lib/Sema/SemaType.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index 7775c25142..2a74a874fa 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -1771,12 +1771,7 @@ void Sema::ProcessTypeAttributeList(QualType &Result, const AttributeList *AL) { /// @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, - QualType PrintType) { - if (!PrintType.isNull()) - return RequireCompleteType(Loc, T, - PDiag(diag) << Range1 << Range2 << PrintType); - + SourceRange Range1, SourceRange Range2) { return RequireCompleteType(Loc, T, PDiag(diag) << Range1 << Range2); } |