diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-07-13 21:47:47 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-07-13 21:47:47 +0000 |
commit | 90ebed0734fac9b464c9bdff53fbf85a86b27f32 (patch) | |
tree | ffe3f053b64d63f91e58237e6159f00e81b9214d /lib/Sema/SemaDecl.cpp | |
parent | 1255aaf10285ca60f236b4fe7c326b629b5cf788 (diff) |
Add 'mutable' to the function declarator chunk, to be used when
parsing lambda expressions, from John Freeman!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index f650724535..ebb1324dcd 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -6585,6 +6585,7 @@ NamedDecl *Sema::ImplicitlyDefineFunction(SourceLocation Loc, Declarator D(DS, Declarator::BlockContext); D.AddTypeInfo(DeclaratorChunk::getFunction(false, false, SourceLocation(), 0, 0, 0, true, SourceLocation(), + SourceLocation(), EST_None, SourceLocation(), 0, 0, 0, 0, Loc, Loc, D), DS.getAttributes(), |