commit | 25896afbe5c82d6b3129e719137455a3138dec9e | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Tue Jan 24 05:47:35 2012 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Tue Jan 24 05:47:35 2012 +0000 |
tree | 342c79d28eedf4f1b83f08ea5cc491073e01334b | |
parent | f488b358263adee8ad47c1b03fbfbb53a71d4996 [diff] [blame] |
Support decltype as a simple-type-specifier. This makes all sorts of fun examples work with decltype. Reviewed by Richard Smith. llvm-svn: 148787
diff --git a/clang/lib/Parse/ParseExpr.cpp b/clang/lib/Parse/ParseExpr.cpp index bdebb5e..606c108 100644 --- a/clang/lib/Parse/ParseExpr.cpp +++ b/clang/lib/Parse/ParseExpr.cpp
@@ -914,6 +914,7 @@ } // Fall through + case tok::annot_decltype: case tok::kw_char: case tok::kw_wchar_t: case tok::kw_char16_t: