[llvm-branch-commits] [llvm] 3bd61c6 - formatting
Aiden Grossman via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed May 6 15:56:41 PDT 2026
Author: Aiden Grossman
Date: 2026-05-06T22:56:31Z
New Revision: 3bd61c6d1588b5237219acd8ffc875420802c23f
URL: https://github.com/llvm/llvm-project/commit/3bd61c6d1588b5237219acd8ffc875420802c23f
DIFF: https://github.com/llvm/llvm-project/commit/3bd61c6d1588b5237219acd8ffc875420802c23f.diff
LOG: formatting
Added:
Modified:
llvm/include/llvm/Support/JSON.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/JSON.h b/llvm/include/llvm/Support/JSON.h
index 9dd0a656251db..b7aeacbe9ab6f 100644
--- a/llvm/include/llvm/Support/JSON.h
+++ b/llvm/include/llvm/Support/JSON.h
@@ -47,9 +47,9 @@
#define LLVM_SUPPORT_JSON_H
#include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
-#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/raw_ostream.h"
@@ -489,7 +489,7 @@ class Value {
friend class Array;
friend class Object;
- template <typename T, typename... U> void create(U &&... V) {
+ template <typename T, typename... U> void create(U &&...V) {
new (reinterpret_cast<T *>(&Union)) T(std::forward<U>(V)...);
}
template <typename T> T &as() const {
More information about the llvm-branch-commits
mailing list