]> granicus.if.org Git - clang/commit
add a simple fast-path for the common case of [] and [4] in
authorChris Lattner <sabre@nondot.org>
Thu, 18 Dec 2008 07:27:21 +0000 (07:27 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 18 Dec 2008 07:27:21 +0000 (07:27 +0000)
commit378c7e487333bae6dbe848fa70936f0fd8bb0ae9
tree402202c7ab9d5de1c50ff4610ae840d9162aa7cd
parent85b5a45803784a5465f69baf6f8d6e1eacaa5af5
add a simple fast-path for the common case of [] and [4] in
array size declarators.  No need to go through all the trouble
of parsing crazy things like [static const 4] when most code
doesn't need it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61200 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp