[clang] [clang][NFC] Adjust TBAA Base Info API (PR #73263)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 8 08:18:54 PST 2024


================
@@ -95,8 +95,6 @@ static bool TypeHasMayAlias(QualType QTy) {
 
 /// Check if the given type is a valid base type to be used in access tags.
 static bool isValidBaseType(QualType QTy) {
-  if (QTy->isReferenceType())
-    return false;
----------------
AaronBallman wrote:

This looks like a functional change to me; can you explain it a bit more?

https://github.com/llvm/llvm-project/pull/73263


More information about the cfe-commits mailing list