Revert unnecessary tblgen change.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 27 Apr 2016 20:49:44 +0000 (20:49 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 27 Apr 2016 20:49:44 +0000 (20:49 +0000)
llvm-svn: 267788

clang/utils/TableGen/ClangAttrEmitter.cpp

index 9e39970..b5d2c02 100644 (file)
@@ -2524,7 +2524,6 @@ static std::string CalculateDiagnostic(const Record &S) {
     case ObjCProtocol | ObjCInterface:
       return "ExpectedObjectiveCInterfaceOrProtocol";
     case Field | Var: return "ExpectedFieldOrGlobalVar";
-    case GenericRecord | Namespace: return "ExpectedRecordOrNamespace";
   }
 
   PrintFatalError(S.getLoc(),