]> granicus.if.org Git - clang/commit
the declspec of a declaration can have storage-class specifiers,
authorChris Lattner <sabre@nondot.org>
Tue, 2 Feb 2010 17:32:27 +0000 (17:32 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 2 Feb 2010 17:32:27 +0000 (17:32 +0000)
commit99c952046600f6bfccf315aa7ad5b1be2d242cc3
treed1f1bcc3ebad22a05f7a64967154e6013118176f
parent39053672d459bff1d3ab1f72a7901f24e3fa542e
the declspec of a declaration can have storage-class specifiers,
type qualifiers and type specifiers in any order.   For example,
this is valid: struct x {...} typedef y;

This fixes PR6208.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95094 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDeclCXX.cpp
test/Parser/declarators.c
test/Sema/declspec.c