[clang] 1da74ee - [Clang][LoongArch] Remove duplicate declaration. NFC

via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 11 04:39:58 PST 2022


Author: wanglei
Date: 2022-11-11T20:36:18+08:00
New Revision: 1da74eeb0e1b6cb0d427148d9ed05afb3a1e01bc

URL: https://github.com/llvm/llvm-project/commit/1da74eeb0e1b6cb0d427148d9ed05afb3a1e01bc
DIFF: https://github.com/llvm/llvm-project/commit/1da74eeb0e1b6cb0d427148d9ed05afb3a1e01bc.diff

LOG: [Clang][LoongArch] Remove duplicate declaration. NFC

Added: 
    

Modified: 
    clang/lib/Driver/ToolChains/Arch/LoongArch.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/Driver/ToolChains/Arch/LoongArch.h b/clang/lib/Driver/ToolChains/Arch/LoongArch.h
index 2f85dd0e0e88f..0084474e7ed3f 100644
--- a/clang/lib/Driver/ToolChains/Arch/LoongArch.h
+++ b/clang/lib/Driver/ToolChains/Arch/LoongArch.h
@@ -20,12 +20,9 @@ namespace loongarch {
 void getLoongArchTargetFeatures(const Driver &D, const llvm::Triple &Triple,
                                 const llvm::opt::ArgList &Args,
                                 std::vector<llvm::StringRef> &Features);
+
 StringRef getLoongArchABI(const Driver &D, const llvm::opt::ArgList &Args,
                           const llvm::Triple &Triple);
-
-void getLoongArchTargetFeatures(const Driver &D, const llvm::Triple &Triple,
-                                const llvm::opt::ArgList &Args,
-                                std::vector<llvm::StringRef> &Features);
 } // end namespace loongarch
 } // end namespace tools
 } // end namespace driver


        


More information about the cfe-commits mailing list