forked from GaloisInc/llvm-pretty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide ability to check type equality modulo opaque pointers
This patch implements `eqTypeModuloOpaquePtrs` and `cmpTypeModuloOpaquePtrs` functions, which provide coarser notions of type equality and comparison that do not distinguish between `PtrTo` and `PtrOpaque`, unlike the `Eq` and `Ord` instances for `Type`. This is useful to support code in which `PtrTo` and `PtrOpaque` exist in the same file. See GaloisInc#102.
- Loading branch information
1 parent
16bc5bd
commit f32f773
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters