summaryrefslogtreecommitdiffstats
path: root/lib/Format/FormatToken.cpp
diff options
context:
space:
mode:
authorSjoerd Meijer <sjoerd.meijer@arm.com>2017-09-08 15:15:00 +0000
committerSjoerd Meijer <sjoerd.meijer@arm.com>2017-09-08 15:15:00 +0000
commit87063256b97d572c2a6d108d509af2de5034fba3 (patch)
treedf8304065d848624ee69ecf7d2c1f13029dd0fc3 /lib/Format/FormatToken.cpp
parent8236567f9839ddb87dc2e5ed1cc952d9eb698259 (diff)
Recommit "Add _Float16 as a C/C++ source language type"
This is a recommit of r312781; in some build configurations variable names are omitted, so changed the new regression test accordingly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@312794 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/FormatToken.cpp')
-rw-r--r--lib/Format/FormatToken.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Format/FormatToken.cpp b/lib/Format/FormatToken.cpp
index ba5bf03a63..d1f16eb1c3 100644
--- a/lib/Format/FormatToken.cpp
+++ b/lib/Format/FormatToken.cpp
@@ -52,6 +52,7 @@ bool FormatToken::isSimpleTypeSpecifier() const {
case tok::kw_half:
case tok::kw_float:
case tok::kw_double:
+ case tok::kw__Float16:
case tok::kw___float128:
case tok::kw_wchar_t:
case tok::kw_bool: