summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-01-26 03:43:54 +0000
committerDouglas Gregor <dgregor@apple.com>2011-01-26 03:43:54 +0000
commit5499235d13418d034b2f341c66ff35545f9b742f (patch)
tree2a50787086a9cb951862abdc8800f34101468121 /clang/lib/Sema/SemaDecl.cpp
parent078159e3103992778a2911cf7e2cd1562f478521 (diff)
downloadbcm5719-llvm-5499235d13418d034b2f341c66ff35545f9b742f.tar.gz
bcm5719-llvm-5499235d13418d034b2f341c66ff35545f9b742f.zip
Rvalue references for *this: parse ref-qualifiers.
llvm-svn: 124276
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 39d198be392..1c487b8113a 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -5539,7 +5539,8 @@ NamedDecl *Sema::ImplicitlyDefineFunction(SourceLocation Loc,
Declarator D(DS, Declarator::BlockContext);
D.AddTypeInfo(DeclaratorChunk::getFunction(ParsedAttributes(),
false, false, SourceLocation(), 0,
- 0, 0, false, SourceLocation(),
+ 0, 0, true, SourceLocation(),
+ false, SourceLocation(),
false, 0,0,0, Loc, Loc, D),
SourceLocation());
D.SetIdentifier(&II, Loc);
OpenPOWER on IntegriCloud