diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-03-09 16:13:40 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-03-09 16:13:40 +0000 |
commit | ed0cfbdad12dd5a504b38ad05161aa85a3b54ca6 (patch) | |
tree | c2eee98f7422af3670b093acc8330807e517152c /clang/lib/Sema/Sema.h | |
parent | 5cbd3d9c52a244ce34ddd0606902882bb5bf7897 (diff) | |
download | bcm5719-llvm-ed0cfbdad12dd5a504b38ad05161aa85a3b54ca6.tar.gz bcm5719-llvm-ed0cfbdad12dd5a504b38ad05161aa85a3b54ca6.zip |
Rename DiagnoseIncompleteType to RequireCompleteType, and update the documentation to reflect the fact that we can instantiate templates here
llvm-svn: 66421
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r-- | clang/lib/Sema/Sema.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 1ef579f687e..10a3a9defd1 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -283,7 +283,7 @@ public: virtual TypeResult ActOnTypeName(Scope *S, Declarator &D); - bool DiagnoseIncompleteType(SourceLocation Loc, QualType T, unsigned diag, + bool RequireCompleteType(SourceLocation Loc, QualType T, unsigned diag, SourceRange Range1 = SourceRange(), SourceRange Range2 = SourceRange(), QualType PrintType = QualType()); |