summaryrefslogtreecommitdiffstats
path: root/clang/include
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2015-03-25 00:53:33 +0000
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2015-03-25 00:53:33 +0000
commitc07d1e23fb25688f6282f114deb9fc6f9e6985c9 (patch)
tree69cf4518db39c2f2b6120a7b38395e0d3d18ba9b /clang/include
parent93ed5cf5e62e828248ec80ba3a032df1d2159fdc (diff)
downloadbcm5719-llvm-c07d1e23fb25688f6282f114deb9fc6f9e6985c9.tar.gz
bcm5719-llvm-c07d1e23fb25688f6282f114deb9fc6f9e6985c9.zip
Diagnose ref-qualifiers occuring after virt-specifier-seq and generate fixit hints
Summary: Follow-up to the fix of PR22075. Reviewers: rsmith Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D7012 llvm-svn: 233161
Diffstat (limited to 'clang/include')
-rw-r--r--clang/include/clang/Parse/Parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/include/clang/Parse/Parser.h b/clang/include/clang/Parse/Parser.h
index ba3fd133cc6..179bc038d5e 100644
--- a/clang/include/clang/Parse/Parser.h
+++ b/clang/include/clang/Parse/Parser.h
@@ -2214,6 +2214,8 @@ private:
BalancedDelimiterTracker &Tracker,
bool IsAmbiguous,
bool RequiresArg = false);
+ bool ParseRefQualifier(bool &RefQualifierIsLValueRef,
+ SourceLocation &RefQualifierLoc);
bool isFunctionDeclaratorIdentifierList();
void ParseFunctionDeclaratorIdentifierList(
Declarator &D,
OpenPOWER on IntegriCloud