diff options
author | Nico Weber <nicolasweber@gmx.de> | 2015-12-29 23:17:27 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2015-12-29 23:17:27 +0000 |
commit | 8da88ff33e3f0954e44835005486f154e737ca6f (patch) | |
tree | 4d3d55068d7995807510574e58f367cf99df24e6 /include/clang/Basic/DiagnosticLexKinds.td | |
parent | 87455cb66c8b9e8d0311e38e013fb1629ac6ea99 (diff) |
Emit a -Wmicrosoft warning when treating ^Z as EOF in MS mode.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticLexKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticLexKinds.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td index 2ed40c0cde..bf86b7077c 100644 --- a/include/clang/Basic/DiagnosticLexKinds.td +++ b/include/clang/Basic/DiagnosticLexKinds.td @@ -62,6 +62,9 @@ def ext_charize_microsoft : Extension< def ext_comment_paste_microsoft : Extension< "pasting two '/' tokens into a '//' comment token is a Microsoft extension">, InGroup<MicrosoftCommentPaste>; +def ext_ctrl_z_eof_microsoft : Extension< + "treating Ctrl-Z as end-of-file is a Microsoft extension">, + InGroup<MicrosoftEndOfFile>; def ext_token_used : Extension<"extension used">, InGroup<DiagGroup<"language-extension-token">>; |