]> granicus.if.org Git - clang/commit
AST: Handle multidimensional arrays inside of __uuidof()
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 27 Sep 2013 07:57:34 +0000 (07:57 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 27 Sep 2013 07:57:34 +0000 (07:57 +0000)
commitc420e3cbafbc0468645ca9aab1b71c76c30d280f
treeaf9bec0515eaa0cbeab4d4d37b880946eef2f2c8
parent48c099f45400e37ec1cde7de5eaee5cce65dbd42
AST: Handle multidimensional arrays inside of __uuidof()

We previously handled one-dimensional arrays but didn't consider the
general case.  The fix is simple: keep going through subsequent
dimensions until we get to the base element.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191493 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprCXX.cpp
test/Parser/MicrosoftExtensions.cpp