https://bugs.llvm.org/show_bug.cgi?id=50961
Bug ID: 50961
Summary: Casting.h really needs an isa_or_null<> template!
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Support Libraries
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
casting.h provides cast_or_null and dyn_cast_or_null but doesn't have the
corresponding isa_or_null operation that returns true if the value is null or
if it matches the list of types provided. Folks work around this by using
dyn_cast_or_null in a bool context, but it would be cleaner to just provide
this operation.
I think this is just a "no one has gotten around to it" sort of issue.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs