summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2015-03-24 13:25:26 +0000
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2015-03-24 13:25:26 +0000
commit841cfe1c6941623981df744e1e43748b08119f7e (patch)
treefadcc2dc69a7dfd5df8ab409554977d2dcbe04d5 /clang/lib/Parse/ParseDecl.cpp
parent378444331b00d96ec76f18492cbbe34c55f1339a (diff)
downloadbcm5719-llvm-841cfe1c6941623981df744e1e43748b08119f7e.tar.gz
bcm5719-llvm-841cfe1c6941623981df744e1e43748b08119f7e.zip
Revert "Diagnose declspecs occuring after virt-specifier-seq and generate fixit hints"
This reverts commit 2131e63e2fdff7c831ab3bfe31facf2e3ebab03d. llvm-svn: 233074
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
-rw-r--r--clang/lib/Parse/ParseDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp
index c19759e596c..b4a76642981 100644
--- a/clang/lib/Parse/ParseDecl.cpp
+++ b/clang/lib/Parse/ParseDecl.cpp
@@ -5329,7 +5329,7 @@ void Parser::ParseFunctionDeclarator(Declarator &D,
if (getLangOpts().CPlusPlus) {
// FIXME: Accept these components in any order, and produce fixits to
// correct the order if the user gets it wrong. Ideally we should deal
- // with the pure-specifier in the same way.
+ // with the virt-specifier-seq and pure-specifier in the same way.
// Parse cv-qualifier-seq[opt].
ParseTypeQualifierListOpt(DS, AR_NoAttributesParsed,
OpenPOWER on IntegriCloud