summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2009-05-29 18:02:33 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2009-05-29 18:02:33 +0000
commitd643456d450adf341f97a96c59608263eb160f09 (patch)
tree1d77735240d3a8a3e78232aad94623f25dc96b8b /clang/lib/Sema/SemaDecl.cpp
parent9d809cad50204aa4358dac5439d81429b817c778 (diff)
downloadbcm5719-llvm-d643456d450adf341f97a96c59608263eb160f09.tar.gz
bcm5719-llvm-d643456d450adf341f97a96c59608263eb160f09.zip
Reject incomplete types in exception specs.
llvm-svn: 72580
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index abae9f04cc1..8375a68507a 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -3176,7 +3176,7 @@ NamedDecl *Sema::ImplicitlyDefineFunction(SourceLocation Loc,
assert(!Error && "Error setting up implicit decl!");
Declarator D(DS, Declarator::BlockContext);
D.AddTypeInfo(DeclaratorChunk::getFunction(false, false, SourceLocation(), 0,
- 0, 0, false, false, 0, 0, Loc, D),
+ 0, 0, false, false, 0,0,0, Loc, D),
SourceLocation());
D.SetIdentifier(&II, Loc);
OpenPOWER on IntegriCloud