Add a generic API to return the Concrete type for a given abstract type

name and the execution context in which it is realized.

llvm-svn: 252240
This commit is contained in:
Jim Ingham 2015-11-05 23:52:05 +00:00
parent 60bdafbc16
commit 2125907ebd
1 changed files with 10 additions and 0 deletions

View File

@ -55,6 +55,16 @@ public:
Address &address,
Value::ValueType &value_type) = 0;
// This call should return a CompilerType given a generic type name
// and an ExecutionContextScope in which one can actually fetch
// any specialization information required.
virtual CompilerType
GetConcreteType (ExecutionContextScope *exe_scope,
ConstString abstract_type_name)
{
return CompilerType();
}
// This should be a fast test to determine whether it is likely that this value would
// have a dynamic type.
virtual bool