[llvm-branch-commits] [llvm] 471dec3 - [CodeGen][NFC] Fix a build warning due to an extra semicolon

Yang Fan via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jan 1 18:48:19 PST 2021


Author: Yang Fan
Date: 2021-01-02T10:42:58+08:00
New Revision: 471dec3801b32d8b9428f6341accb649ef6cda56

URL: https://github.com/llvm/llvm-project/commit/471dec3801b32d8b9428f6341accb649ef6cda56
DIFF: https://github.com/llvm/llvm-project/commit/471dec3801b32d8b9428f6341accb649ef6cda56.diff

LOG: [CodeGen][NFC] Fix a build warning due to an extra semicolon

Added: 
    

Modified: 
    llvm/lib/CodeGen/DwarfEHPrepare.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/DwarfEHPrepare.cpp b/llvm/lib/CodeGen/DwarfEHPrepare.cpp
index a4824ef21640..34a04feec040 100644
--- a/llvm/lib/CodeGen/DwarfEHPrepare.cpp
+++ b/llvm/lib/CodeGen/DwarfEHPrepare.cpp
@@ -273,7 +273,7 @@ static bool prepareDwarfEH(CodeGenOpt::Level OptLevel,
   return DwarfEHPrepare(OptLevel, RewindFunction, F, TLI, DT ? &DTU : nullptr,
                         TTI)
       .run();
-};
+}
 
 namespace {
 


        


More information about the llvm-branch-commits mailing list