[PATCH] D133033: [NFC] clang-format Any.h

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 31 09:59:58 PDT 2022


aeubanks created this revision.
Herald added a project: All.
aeubanks requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

To trigger some bots.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133033

Files:
  llvm/include/llvm/ADT/Any.h


Index: llvm/include/llvm/ADT/Any.h
===================================================================
--- llvm/include/llvm/ADT/Any.h
+++ llvm/include/llvm/ADT/Any.h
@@ -31,7 +31,9 @@
   // identifier for the type `T`. It is explicitly marked with default
   // visibility so that when `-fvisibility=hidden` is used, the loader still
   // merges duplicate definitions across DSO boundaries.
-  template <typename T> struct TypeId { static const char Id; };
+  template <typename T> struct TypeId {
+    static const char Id;
+  };
 
   struct StorageBase {
     virtual ~StorageBase() = default;
@@ -119,7 +121,6 @@
 
 template <typename T> const char Any::TypeId<T>::Id = 0;
 
-
 template <typename T> bool any_isa(const Any &Value) {
   if (!Value.Storage)
     return false;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133033.457000.patch
Type: text/x-patch
Size: 780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220831/49af191d/attachment-0001.bin>


More information about the llvm-commits mailing list