mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 10:08:59 +08:00
[Basic] Drop unnecessary const from return types (NFC)
Identified with readability-const-return-type.
This commit is contained in:
@@ -21,7 +21,7 @@ namespace clang {
|
||||
/// postfixed by a plus or minus sign delimited by colons, e.g.
|
||||
/// gfx908:xnack+:sramecc-. Each processor have a limited
|
||||
/// number of predefined features when showing up in a target ID.
|
||||
const llvm::SmallVector<llvm::StringRef, 4>
|
||||
llvm::SmallVector<llvm::StringRef, 4>
|
||||
getAllPossibleTargetIDFeatures(const llvm::Triple &T,
|
||||
llvm::StringRef Processor);
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
namespace clang {
|
||||
|
||||
static const llvm::SmallVector<llvm::StringRef, 4>
|
||||
static llvm::SmallVector<llvm::StringRef, 4>
|
||||
getAllPossibleAMDGPUTargetIDFeatures(const llvm::Triple &T,
|
||||
llvm::StringRef Proc) {
|
||||
// Entries in returned vector should be in alphabetical order.
|
||||
@@ -33,7 +33,7 @@ getAllPossibleAMDGPUTargetIDFeatures(const llvm::Triple &T,
|
||||
return Ret;
|
||||
}
|
||||
|
||||
const llvm::SmallVector<llvm::StringRef, 4>
|
||||
llvm::SmallVector<llvm::StringRef, 4>
|
||||
getAllPossibleTargetIDFeatures(const llvm::Triple &T,
|
||||
llvm::StringRef Processor) {
|
||||
llvm::SmallVector<llvm::StringRef, 4> Ret;
|
||||
|
||||
Reference in New Issue
Block a user