[clang] cb6cf18 - [clang] Remove stray semicolons, fixing GCC warnings. NFC.

Martin Storsjö via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 19 00:41:19 PDT 2020


Author: Martin Storsjö
Date: 2020-08-19T10:41:03+03:00
New Revision: cb6cf18ff5e0e5bb751e10549accc0f035f697ac

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

LOG: [clang] Remove stray semicolons, fixing GCC warnings. NFC.

Added: 
    

Modified: 
    clang/lib/Basic/TargetID.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Basic/TargetID.cpp b/clang/lib/Basic/TargetID.cpp
index e3016b5c25d6..3bb895f28832 100644
--- a/clang/lib/Basic/TargetID.cpp
+++ b/clang/lib/Basic/TargetID.cpp
@@ -98,7 +98,7 @@ parseTargetIDWithFormatCheckingOnly(llvm::StringRef TargetID,
     Features = Splits.second;
   }
   return Processor;
-};
+}
 
 llvm::Optional<llvm::StringRef>
 parseTargetID(const llvm::Triple &T, llvm::StringRef TargetID,
@@ -123,7 +123,7 @@ parseTargetID(const llvm::Triple &T, llvm::StringRef TargetID,
       return llvm::None;
 
   return Processor;
-};
+}
 
 // A canonical target ID is a target ID containing a canonical processor name
 // and features in alphabetical order.


        


More information about the cfe-commits mailing list