mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Simplify isDerivedType() and other predicate interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80602 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -28,11 +28,11 @@ using namespace llvm;
|
||||
void PIC16DbgInfo::PopulateDebugInfo (DIType Ty, unsigned short &TypeNo,
|
||||
bool &HasAux, int Aux[],
|
||||
std::string &TagName) {
|
||||
if (Ty.isBasicType(Ty.getTag()))
|
||||
if (Ty.isBasicType())
|
||||
PopulateBasicTypeInfo (Ty, TypeNo);
|
||||
else if (Ty.isDerivedType(Ty.getTag()))
|
||||
else if (Ty.isDerivedType())
|
||||
PopulateDerivedTypeInfo (Ty, TypeNo, HasAux, Aux, TagName);
|
||||
else if (Ty.isCompositeType(Ty.getTag()))
|
||||
else if (Ty.isCompositeType())
|
||||
PopulateCompositeTypeInfo (Ty, TypeNo, HasAux, Aux, TagName);
|
||||
else {
|
||||
TypeNo = PIC16Dbg::T_NULL;
|
||||
|
Reference in New Issue
Block a user