Skip to content

Commit

Permalink
rename to tbaaVTablePtr
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuHyA committed Dec 16, 2024
1 parent 22e0d0a commit 02a0492
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clang/include/clang/CIR/MissingFeatures.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ struct MissingFeatures {
static bool emitTypeCheck() { return false; }
static bool tbaa() { return false; }
static bool tbaa_struct() { return false; }
static bool tbaa_vtable_pointer() { return false; }
static bool tbaaVTablePtr() { return false; }
static bool tbaaIncompleteType() { return false; }
static bool cleanups() { return false; }
static bool emitNullabilityCheck() { return false; }
Expand Down
2 changes: 1 addition & 1 deletion clang/lib/CIR/CodeGen/CIRGenTBAA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ TBAAAccessInfo CIRGenTBAA::getAccessInfo(clang::QualType accessType) {

TBAAAccessInfo CIRGenTBAA::getVTablePtrAccessInfo(mlir::Type vtablePtrType) {
// TODO(cir): support vtable ptr
assert(!cir::MissingFeatures::tbaa_vtable_pointer());
assert(!cir::MissingFeatures::tbaaVTablePtr());
return TBAAAccessInfo();
}

Expand Down

0 comments on commit 02a0492

Please sign in to comment.