TClingClassInfo.cxx (root_v6.26.08.source) | : | TClingClassInfo.cxx (root_v6.26.10.source) | ||
---|---|---|---|---|
skipping to change at line 818 | skipping to change at line 818 | |||
// we cannot be the base of anything. | // we cannot be the base of anything. | |||
return false; | return false; | |||
} | } | |||
const CXXRecordDecl *baseCRD = | const CXXRecordDecl *baseCRD = | |||
llvm::dyn_cast<CXXRecordDecl>(base.GetDecl()); | llvm::dyn_cast<CXXRecordDecl>(base.GetDecl()); | |||
return CRD->isDerivedFrom(baseCRD); | return CRD->isDerivedFrom(baseCRD); | |||
} | } | |||
bool TClingClassInfo::IsEnum(cling::Interpreter *interp, const char *name) | bool TClingClassInfo::IsEnum(cling::Interpreter *interp, const char *name) | |||
{ | { | |||
R__LOCKGUARD(gInterpreterMutex); | ||||
// Note: This is a static member function. | // Note: This is a static member function. | |||
TClingClassInfo info(interp, name); | TClingClassInfo info(interp, name); | |||
if (info.IsValid() && (info.Property() & kIsEnum)) { | if (info.IsValid() && (info.Property() & kIsEnum)) { | |||
return true; | return true; | |||
} | } | |||
return false; | return false; | |||
} | } | |||
bool TClingClassInfo::IsScopedEnum() const | bool TClingClassInfo::IsScopedEnum() const | |||
{ | { | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added |