aboutsummaryrefslogtreecommitdiff
path: root/Driver/clang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r--Driver/clang.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index f6d5fe691a..307e49b4cb 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -1290,6 +1290,10 @@ int main(int argc, char **argv) {
TextDiagnostics* TextDiagClient = NULL;
if (!HTMLDiag.empty()) {
+
+ // FIXME: The HTMLDiagnosticClient uses the Preprocessor for
+ // (optional) syntax highlighting, but we don't have a preprocessor yet.
+ // Fix this dependency later.
DiagClient.reset(CreateHTMLDiagnosticClient(HTMLDiag, NULL));
}
else { // Use Text diagnostics.