diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-05-31 11:47:27 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-05-31 11:47:27 +0000 |
commit | 3cc9726a493d90bd8faf094986a59352fd3461cb (patch) | |
tree | 10af8c1f45331dd39bdbef629c21d8682432a895 /lib/Sema/SemaDecl.cpp | |
parent | bb6415c69fc6440c337970e39749d4d482d9de42 (diff) |
Disallow exception specs on typedefs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 09ec071bb1..9c650e61e7 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -3164,7 +3164,8 @@ 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,0, Loc, D), + 0, 0, false, SourceLocation(), + false, 0,0,0, Loc, D), SourceLocation()); D.SetIdentifier(&II, Loc); |