| Index: src/IceFixups.cpp
|
| diff --git a/src/IceFixups.cpp b/src/IceFixups.cpp
|
| index ddc79796ac72dd483badb56de1bc6148ae207342..305e695659b2f428c0c958c7f98da3089a0d962f 100644
|
| --- a/src/IceFixups.cpp
|
| +++ b/src/IceFixups.cpp
|
| @@ -24,7 +24,7 @@ const Constant *AssemblerFixup::NullSymbol = nullptr;
|
| RelocOffsetT AssemblerFixup::offset() const {
|
| if (isNullSymbol())
|
| return 0;
|
| - if (const auto CR = llvm::dyn_cast<ConstantRelocatable>(value_))
|
| + if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(value_))
|
| return CR->getOffset();
|
| return 0;
|
| }
|
| @@ -34,7 +34,7 @@ IceString AssemblerFixup::symbol(const GlobalContext *Ctx) const {
|
| llvm::raw_string_ostream Str(Buffer);
|
| const Constant *C = value_;
|
| assert(!isNullSymbol());
|
| - if (const auto CR = llvm::dyn_cast<ConstantRelocatable>(C)) {
|
| + if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(C)) {
|
| if (CR->getSuppressMangling())
|
| Str << CR->getName();
|
| else
|
|
|