mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-15 19:24:33 +00:00
Reduce dyn_cast<> to isa<> or cast<> where possible.
No functional change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234586 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2040,7 +2040,7 @@ RecordKeeper::getAllDerivedDefinitions(const std::string &ClassName) const {
|
||||
/// to CurRec's name.
|
||||
Init *llvm::QualifyName(Record &CurRec, MultiClass *CurMultiClass,
|
||||
Init *Name, const std::string &Scoper) {
|
||||
RecTy *Type = dyn_cast<TypedInit>(Name)->getType();
|
||||
RecTy *Type = cast<TypedInit>(Name)->getType();
|
||||
|
||||
BinOpInit *NewName =
|
||||
BinOpInit::get(BinOpInit::STRCONCAT,
|
||||
|
Reference in New Issue
Block a user