Add output of the SFINAE bit for Clang's diagnostics
authorDouglas Gregor <dgregor@apple.com>
Sun, 14 Jun 2009 07:24:49 +0000 (07:24 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sun, 14 Jun 2009 07:24:49 +0000 (07:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73331 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/ClangDiagnosticsEmitter.cpp

index 919ae9befed32b53d749cc01291fe5d323123b4c..a4a56983ca9fbbe8c957df07fdf3faff2b6649ac 100644 (file)
@@ -65,6 +65,12 @@ void ClangDiagsDefsEmitter::run(std::ostream &OS) {
     } else {
       OS << ", 0";
     }
+
+    // SFINAE bit
+    if (R.getValueAsBit("SFINAE"))
+      OS << ", true";
+    else
+      OS << ", false";
     OS << ")\n";
   }
 }