mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216820 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -92,9 +92,9 @@ public:
|
||||
|
||||
const Target &getTarget() const { return TheTarget; }
|
||||
|
||||
const StringRef getTargetTriple() const { return TargetTriple; }
|
||||
const StringRef getTargetCPU() const { return TargetCPU; }
|
||||
const StringRef getTargetFeatureString() const { return TargetFS; }
|
||||
StringRef getTargetTriple() const { return TargetTriple; }
|
||||
StringRef getTargetCPU() const { return TargetCPU; }
|
||||
StringRef getTargetFeatureString() const { return TargetFS; }
|
||||
|
||||
/// getSubtargetImpl - virtual method implemented by subclasses that returns
|
||||
/// a reference to that target's TargetSubtargetInfo-derived member variable.
|
||||
|
Reference in New Issue
Block a user