Enable the test for hasArraySize() AST matcher in all language modes
authorDmitri Gribenko <gribozavr@gmail.com>
Mon, 20 Jul 2020 08:22:59 +0000 (10:22 +0200)
committerDmitri Gribenko <gribozavr@gmail.com>
Mon, 20 Jul 2020 08:23:00 +0000 (10:23 +0200)
commitb6073ee9ae842d1999fd7798a0aac0f8427d6aea
tree83c5922af1ff093e67a70f01f2cb9d912f12249a
parent43f8a7c83b748f1509fa7ebf7276353018755995
Enable the test for hasArraySize() AST matcher in all language modes

Summary:
In C++11 and later Clang generates an implicit conversion from int to
size_t in the AST.

Reviewers: ymandel, hokein

Reviewed By: hokein

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83966
clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp