Author: Yaxun (Sam) Liu
Date: 2021-12-13T11:25:48-05:00
New Revision: 240be6541d49ee7c810cf60fb809409cbadd59c6
URL: 
https://github.com/llvm/llvm-project/commit/240be6541d49ee7c810cf60fb809409cbadd59c6
DIFF: 
https://github.com/llvm/llvm-project/commit/240be6541d49ee7c810cf60fb809409cbadd59c6.diff

LOG: Fix warning about unused variable in HIPAMD.cpp

Added: 
    

Modified: 
    clang/lib/Driver/ToolChains/HIPAMD.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Driver/ToolChains/HIPAMD.cpp 
b/clang/lib/Driver/ToolChains/HIPAMD.cpp
index 9aa56b21c6bc4..c08f825e0cb9e 100644
--- a/clang/lib/Driver/ToolChains/HIPAMD.cpp
+++ b/clang/lib/Driver/ToolChains/HIPAMD.cpp
@@ -35,10 +35,6 @@ using namespace llvm::opt;
 #define NULL_FILE "/dev/null"
 #endif
 
-namespace {
-const unsigned HIPCodeObjectAlign = 4096;
-} // namespace
-
 static bool shouldSkipSanitizeOption(const ToolChain &TC,
                                      const llvm::opt::ArgList &DriverArgs,
                                      StringRef TargetID,


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to