[llvm] r358895 - Remove spurious semicolons; NFC.

Aaron Ballman via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 08:31:09 PDT 2019


Author: aaronballman
Date: Mon Apr 22 08:31:09 2019
New Revision: 358895

URL: http://llvm.org/viewvc/llvm-project?rev=358895&view=rev
Log:
Remove spurious semicolons; NFC.

Modified:
    llvm/trunk/include/llvm/Support/JSON.h

Modified: llvm/trunk/include/llvm/Support/JSON.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/JSON.h?rev=358895&r1=358894&r2=358895&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/JSON.h (original)
+++ llvm/trunk/include/llvm/Support/JSON.h Mon Apr 22 08:31:09 2019
@@ -310,8 +310,8 @@ public:
     create<std::string>(std::move(V));
   }
   Value(const llvm::SmallVectorImpl<char> &V)
-      : Value(std::string(V.begin(), V.end())){};
-  Value(const llvm::formatv_object_base &V) : Value(V.str()){};
+      : Value(std::string(V.begin(), V.end())) {}
+  Value(const llvm::formatv_object_base &V) : Value(V.str()) {}
   // Strings: types with reference semantics. Must be valid UTF-8.
   Value(StringRef V) : Type(T_StringRef) {
     create<llvm::StringRef>(V);




More information about the llvm-commits mailing list