Start stubbing out a ClassVirtSpecifiers class.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124032 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/DeclSpec.cpp b/lib/Sema/DeclSpec.cpp
index 5ead0c5..3facfac 100644
--- a/lib/Sema/DeclSpec.cpp
+++ b/lib/Sema/DeclSpec.cpp
@@ -669,15 +669,6 @@
}
}
-const char *VirtSpecifiers::getSpecifierName(VirtSpecifier VS) {
- switch (VS) {
- default: assert(0 && "Unknown specifier");
- case VS_Override: return "override";
- case VS_Final: return "final";
- case VS_New: return "new";
- }
-}
-
bool VirtSpecifiers::SetVirtSpecifier(VirtSpecifier VS, SourceLocation Loc,
const char *&PrevSpec) {
if (Specifiers & VS) {
@@ -696,3 +687,11 @@
return false;
}
+const char *VirtSpecifiers::getSpecifierName(VirtSpecifier VS) {
+ switch (VS) {
+ default: assert(0 && "Unknown specifier");
+ case VS_Override: return "override";
+ case VS_Final: return "final";
+ case VS_New: return "new";
+ }
+}