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 | ad69e65a3943824644c4d2e53ebccc9cd2a2e6c5 (patch) | |
tree | 6aa69f2c608b13d703183a3fd6db2aae30a2fe30 /clang/lib/Sema/SemaDecl.cpp | |
parent | 9613b64916f736461382f53e04b1d1b3eeb9b77c (diff) | |
download | bcm5719-llvm-ad69e65a3943824644c4d2e53ebccc9cd2a2e6c5.tar.gz bcm5719-llvm-ad69e65a3943824644c4d2e53ebccc9cd2a2e6c5.zip |
Add 'mutable' to the function declarator chunk, to be used when
parsing lambda expressions, from John Freeman!
llvm-svn: 135090
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index f650724535b..ebb1324dcd0 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/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(), |