summaryrefslogtreecommitdiffstats
path: root/source/slangc/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slangc/main.cpp')
-rw-r--r--source/slangc/main.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/source/slangc/main.cpp b/source/slangc/main.cpp
index 7c57fa8a9..391642c3e 100644
--- a/source/slangc/main.cpp
+++ b/source/slangc/main.cpp
@@ -66,25 +66,6 @@ int MAIN(int argc, char** argv)
exit(-1);
}
-#if 0
- // Produce output as the command-line compiler driver should.
-
- // Now dump the output from the compilation to stdout.
- //
- // TODO: Need a way to control where output goes so that
- // we can actually use the standalone compiler as something
- // more than a testing tool.
- //
-
- int translationUnitCount = spGetTranslationUnitCount(compileRequest);
- for(int tt = 0; tt < translationUnitCount; ++tt)
- {
- auto output = spGetTranslationUnitSource(compileRequest, tt);
- fputs(output, stdout);
- }
- fflush(stdout);
-#endif
-
// Now that we are done, clean up after ourselves
spDestroyCompileRequest(compileRequest);