diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-01-26 03:43:54 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-01-26 03:43:54 +0000 |
commit | 5499235d13418d034b2f341c66ff35545f9b742f (patch) | |
tree | 2a50787086a9cb951862abdc8800f34101468121 /clang/lib/Sema/DeclSpec.cpp | |
parent | 078159e3103992778a2911cf7e2cd1562f478521 (diff) | |
download | bcm5719-llvm-5499235d13418d034b2f341c66ff35545f9b742f.tar.gz bcm5719-llvm-5499235d13418d034b2f341c66ff35545f9b742f.zip |
Rvalue references for *this: parse ref-qualifiers.
llvm-svn: 124276
Diffstat (limited to 'clang/lib/Sema/DeclSpec.cpp')
-rw-r--r-- | clang/lib/Sema/DeclSpec.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Sema/DeclSpec.cpp b/clang/lib/Sema/DeclSpec.cpp index 4152c5740a9..8a35ab70923 100644 --- a/clang/lib/Sema/DeclSpec.cpp +++ b/clang/lib/Sema/DeclSpec.cpp @@ -52,6 +52,8 @@ DeclaratorChunk DeclaratorChunk::getFunction(const ParsedAttributes &attrs, ParamInfo *ArgInfo, unsigned NumArgs, unsigned TypeQuals, + bool RefQualifierIsLvalueRef, + SourceLocation RefQualifierLoc, bool hasExceptionSpec, SourceLocation ThrowLoc, bool hasAnyExceptionSpec, @@ -74,6 +76,8 @@ DeclaratorChunk DeclaratorChunk::getFunction(const ParsedAttributes &attrs, I.Fun.TypeQuals = TypeQuals; I.Fun.NumArgs = NumArgs; I.Fun.ArgInfo = 0; + I.Fun.RefQualifierIsLValueRef = RefQualifierIsLvalueRef; + I.Fun.RefQualifierLoc = RefQualifierLoc.getRawEncoding(); I.Fun.hasExceptionSpec = hasExceptionSpec; I.Fun.ThrowLoc = ThrowLoc.getRawEncoding(); I.Fun.hasAnyExceptionSpec = hasAnyExceptionSpec; |