enable digraphs for C94, thanks to Neil for pointing this out.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47543 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index 89e0bad..fa0c9fc 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -369,7 +369,6 @@
// FALL THROUGH.
case lang_gnu99:
case lang_c99:
- Options.Digraphs = 1;
Options.C99 = 1;
Options.HexFloats = 1;
// FALL THROUGH.
@@ -377,6 +376,8 @@
Options.BCPLComment = 1; // Only for C99/C++.
// FALL THROUGH.
case lang_c94:
+ Options.Digraphs = 1; // C94, C99, C++.
+ // FALL THROUGH.
case lang_c89:
break;
}