Fixed a nasty layering violation in the edis source
[oota-llvm.git] / utils / TableGen / ClangDiagnosticsEmitter.cpp
index 6f1080eb5eb20426df3f5a5ec9dc35bb838c608c..27b16544ce1d795c12f5cbbafa6c1e2d5abf9940 100644 (file)
@@ -34,7 +34,7 @@ void ClangDiagsDefsEmitter::run(raw_ostream &OS) {
     OS << "__" << ComponentName << "START = DIAG_START_" << ComponentName
        << ",\n";
     OS << "#undef " << ComponentName << "START\n";
-    OS << "#endif\n";
+    OS << "#endif\n\n";
   }
 
   const std::vector<Record*> &Diags =