[PATCH] D133033: [NFC] clang-format Any.h
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 31 10:21:48 PDT 2022
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd0b9c9c0a303: [NFC] clang-format Any.h (authored by aeubanks).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133033/new/
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.457014.patch
Type: text/x-patch
Size: 780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220831/14f148b6/attachment.bin>
More information about the llvm-commits
mailing list