diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-12-06 10:23:07 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-12-06 10:23:07 +0000 |
commit | 45e06a61601c5455359b9a4810b0c26937417bac (patch) | |
tree | 9e67b131e5ebcb1cf40107a643784dc8402bbb69 /include/clang/Frontend/LangStandards.def | |
parent | e9895ed59a7f1c28e4e70d8ea249b5f4803dbc7f (diff) |
Also recognize -std=iso9899:201x
It should already be handled but a typo in the LANGSTANDARD() definition
was introduced in r147220.
Patch by Alexander Richardson, test case by me.
Differential Revision:https://reviews.llvm.org/D27427
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/LangStandards.def')
-rw-r--r-- | include/clang/Frontend/LangStandards.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Frontend/LangStandards.def b/include/clang/Frontend/LangStandards.def index a3036932f0..06fe1a3350 100644 --- a/include/clang/Frontend/LangStandards.def +++ b/include/clang/Frontend/LangStandards.def @@ -81,7 +81,7 @@ LANGSTANDARD(iso9899_2011, "iso9899:2011", "ISO C 2011", LineComment | C99 | C11 | Digraphs | HexFloat) LANGSTANDARD(iso9899_201x, - "iso9899:2011", "ISO C 2011", + "iso9899:201x", "ISO C 2011", LineComment | C99 | C11 | Digraphs | HexFloat) LANGSTANDARD(gnu11, "gnu11", |