summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-07-13 21:47:47 +0000
committerDouglas Gregor <dgregor@apple.com>2011-07-13 21:47:47 +0000
commitad69e65a3943824644c4d2e53ebccc9cd2a2e6c5 (patch)
tree6aa69f2c608b13d703183a3fd6db2aae30a2fe30 /clang/lib/Sema/SemaDecl.cpp
parent9613b64916f736461382f53e04b1d1b3eeb9b77c (diff)
downloadbcm5719-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.cpp1
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(),
OpenPOWER on IntegriCloud