r267788 - Revert unnecessary tblgen change.

Peter Collingbourne via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 27 13:49:44 PDT 2016


Author: pcc
Date: Wed Apr 27 15:49:44 2016
New Revision: 267788

URL: http://llvm.org/viewvc/llvm-project?rev=267788&view=rev
Log:
Revert unnecessary tblgen change.

Modified:
    cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp

Modified: cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp?rev=267788&r1=267787&r2=267788&view=diff
==============================================================================
--- cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp (original)
+++ cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp Wed Apr 27 15:49:44 2016
@@ -2524,7 +2524,6 @@ static std::string CalculateDiagnostic(c
     case ObjCProtocol | ObjCInterface:
       return "ExpectedObjectiveCInterfaceOrProtocol";
     case Field | Var: return "ExpectedFieldOrGlobalVar";
-    case GenericRecord | Namespace: return "ExpectedRecordOrNamespace";
   }
 
   PrintFatalError(S.getLoc(),




More information about the cfe-commits mailing list