[llvm] 6d22ba4 - [NVPTX] Fix warning, remove extra ";" [NFC]
Mikael Holmen via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 19 01:26:51 PDT 2021
Author: Mikael Holmen
Date: 2021-03-19T09:26:14+01:00
New Revision: 6d22ba48ea492c2d1244c22d0e8dfb7a1fb80ff5
URL: https://github.com/llvm/llvm-project/commit/6d22ba48ea492c2d1244c22d0e8dfb7a1fb80ff5
DIFF: https://github.com/llvm/llvm-project/commit/6d22ba48ea492c2d1244c22d0e8dfb7a1fb80ff5.diff
LOG: [NVPTX] Fix warning, remove extra ";" [NFC]
gcc complained with
../lib/Target/NVPTX/NVPTXLowerArgs.cpp:203:2: warning: extra ';' [-Wpedantic]
203 | };
| ^
Added:
Modified:
llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp b/llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
index 56643f64e6c2..0143f4f4b62a 100644
--- a/llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
+++ b/llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
@@ -200,7 +200,7 @@ static bool isALoadChain(Value *Start) {
return false;
}
return true;
-};
+}
void NVPTXLowerArgs::handleByValParam(Argument *Arg) {
Function *Func = Arg->getParent();
More information about the llvm-commits
mailing list