================
@@ -1801,6 +1801,16 @@ TEST(ExprMutationAnalyzerTest,
PointeeMutatedByPassAsArgument) {
match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
EXPECT_TRUE(isPointeeMutated(Results, AST.get()));
}
+ {
+ const std::string Code =
+ "namespace std { typedef decltype(sizeof(int)) size_t; }"
----------------
vbvictor wrote:
Do we really need size_t define here? can we just use plain `unsigned int` or
`int`?
https://github.com/llvm/llvm-project/pull/187508
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits