summaryrefslogtreecommitdiff
path: root/test/FixIt
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
commitb82932c19ba1d0b929ce444f65b6655902ea78a0 (patch)
tree3f49727a25502ffe88489e1ec324fef1e4fd2fb2 /test/FixIt
parent6694b30bcc8834e884985fd8ded7bc32b013904c (diff)
downloadclang-b82932c19ba1d0b929ce444f65b6655902ea78a0.tar.gz
Revert "Diagnose declspecs occuring after virt-specifier-seq and generate fixit hints"
This reverts commit 2131e63e2fdff7c831ab3bfe31facf2e3ebab03d. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233074 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FixIt')
-rw-r--r--test/FixIt/fixit-cxx0x.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/FixIt/fixit-cxx0x.cpp b/test/FixIt/fixit-cxx0x.cpp
index 6e096e5e78..49a05ff8d1 100644
--- a/test/FixIt/fixit-cxx0x.cpp
+++ b/test/FixIt/fixit-cxx0x.cpp
@@ -158,14 +158,3 @@ namespace MisplacedParameterPack {
template <int... N...> // expected-error {{'...' must immediately precede declared identifier}}
void redundantEllipsisInNonTypeTemplateParameter();
}
-
-namespace MisplacedDeclSpecAfterVirtSpec {
- struct B {
- virtual void f();
- virtual void f() volatile const;
- };
- struct D : B {
- virtual void f() override;
- virtual void f() override final const volatile; // expected-error {{'const' qualifier may not appear after the virtual specifier 'final'}} expected-error {{'volatile' qualifier may not appear after the virtual specifier 'final'}}
- };
-}