File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/Target/ARM/MCTargetDesc Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -375,7 +375,7 @@ class ResourceInfo {
375375
376376 const ResourceBinding &getBinding () const { return Binding; }
377377 TargetExtType *getHandleTy () const { return HandleTy; }
378- const StringRef getName () const { return Symbol ? Symbol->getName () : " " ; }
378+ StringRef getName () const { return Symbol ? Symbol->getName () : " " ; }
379379
380380 bool hasSymbol () const { return Symbol; }
381381 GlobalVariable *createSymbol (Module &M, StructType *Ty, StringRef Name = " " );
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ namespace ARM_AM {
4141
4242 inline const char *getAddrOpcStr (AddrOpc Op) { return Op == sub ? " -" : " " ; }
4343
44- inline const StringRef getShiftOpcStr (ShiftOpc Op) {
44+ inline StringRef getShiftOpcStr (ShiftOpc Op) {
4545 switch (Op) {
4646 default : llvm_unreachable (" Unknown shift opc!" );
4747 case ARM_AM::asr: return " asr" ;
You can’t perform that action at this time.
0 commit comments