[llvm] d0b9c9c - [NFC] clang-format Any.h
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 31 10:21:41 PDT 2022
Author: Arthur Eubanks
Date: 2022-08-31T10:21:30-07:00
New Revision: d0b9c9c0a303f3cc492d6854c8d85deff268e517
URL: https://github.com/llvm/llvm-project/commit/d0b9c9c0a303f3cc492d6854c8d85deff268e517
DIFF: https://github.com/llvm/llvm-project/commit/d0b9c9c0a303f3cc492d6854c8d85deff268e517.diff
LOG: [NFC] clang-format Any.h
To trigger some bots.
Differential Revision: https://reviews.llvm.org/D133033
Added:
Modified:
llvm/include/llvm/ADT/Any.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/ADT/Any.h b/llvm/include/llvm/ADT/Any.h
index 777db31fb2efb..71473594c0012 100644
--- a/llvm/include/llvm/ADT/Any.h
+++ b/llvm/include/llvm/ADT/Any.h
@@ -31,7 +31,9 @@ class LLVM_EXTERNAL_VISIBILITY Any {
// 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 @@ class LLVM_EXTERNAL_VISIBILITY Any {
template <typename T> const char Any::TypeId<T>::Id = 0;
-
template <typename T> bool any_isa(const Any &Value) {
if (!Value.Storage)
return false;
More information about the llvm-commits
mailing list