Install only *.cmake files. Don't install .svn directory.
[oota-llvm.git] / utils / TableGen / ClangDiagnosticsEmitter.cpp
index dccf8fa42ba68c41d0849e4ef5c94ad5798c2400..9f076073eda7dc7a6f3f2b4260621a67d9417371 100644 (file)
@@ -170,7 +170,13 @@ void ClangDiagsDefsEmitter::run(raw_ostream &OS) {
       OS << ", true";
     else
       OS << ", false";
-    
+
+    // Access control bit
+    if (R.getValueAsBit("AccessControl"))
+      OS << ", true";
+    else
+      OS << ", false";
+
     // Category number.
     OS << ", " << CategoryIDs.getID(getDiagnosticCategory(&R, DGParentMap));
     OS << ")\n";