aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVijay Pai <vpai@google.com>2019-06-06 10:25:37 -0700
committerVijay Pai <vpai@google.com>2019-06-06 10:25:37 -0700
commite7aca312fc9187e959e59703a68dbc313ee73b8e (patch)
treeca33240fa3dda496d213a1e9093616b83c93ed98
parentb50fbc8a48b6bd733d39728a5747036dca13d5fc (diff)
downloadgrpc-grpc-e7aca312fc9187e959e59703a68dbc313ee73b8e.tar.gz
Stop misspelling our own project name
-rw-r--r--src/core/ext/filters/client_channel/resolver.h2
-rw-r--r--src/core/lib/channel/channelz_registry.h4
-rw-r--r--src/core/lib/gprpp/memory.h4
-rw-r--r--src/core/lib/gprpp/orphanable.h2
-rw-r--r--src/core/lib/gprpp/ref_counted.h6
-rw-r--r--src/core/lib/iomgr/buffer_list.h2
-rw-r--r--src/core/lib/slice/slice.cc4
7 files changed, 12 insertions, 12 deletions
diff --git a/src/core/ext/filters/client_channel/resolver.h b/src/core/ext/filters/client_channel/resolver.h
index 9aa504225a..87a4442d75 100644
--- a/src/core/ext/filters/client_channel/resolver.h
+++ b/src/core/ext/filters/client_channel/resolver.h
@@ -128,7 +128,7 @@ class Resolver : public InternallyRefCounted<Resolver> {
GRPC_ABSTRACT_BASE_CLASS
protected:
- GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
+ GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
/// Does NOT take ownership of the reference to \a combiner.
// TODO(roth): Once we have a C++-like interface for combiners, this
diff --git a/src/core/lib/channel/channelz_registry.h b/src/core/lib/channel/channelz_registry.h
index aa87b64e5b..b9d42ecf4d 100644
--- a/src/core/lib/channel/channelz_registry.h
+++ b/src/core/lib/channel/channelz_registry.h
@@ -69,8 +69,8 @@ class ChannelzRegistry {
static void LogAllEntities() { Default()->InternalLogAllEntities(); }
private:
- GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_NEW
- GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
+ GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_NEW
+ GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
friend class testing::ChannelzRegistryPeer;
ChannelzRegistry();
diff --git a/src/core/lib/gprpp/memory.h b/src/core/lib/gprpp/memory.h
index b4b63ae771..70ad430c51 100644
--- a/src/core/lib/gprpp/memory.h
+++ b/src/core/lib/gprpp/memory.h
@@ -29,12 +29,12 @@
// Add this to a class that want to use Delete(), but has a private or
// protected destructor.
-#define GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE \
+#define GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE \
template <typename T> \
friend void grpc_core::Delete(T*);
// Add this to a class that want to use New(), but has a private or
// protected constructor.
-#define GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_NEW \
+#define GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_NEW \
template <typename T, typename... Args> \
friend T* grpc_core::New(Args&&...);
diff --git a/src/core/lib/gprpp/orphanable.h b/src/core/lib/gprpp/orphanable.h
index 2e467e4906..82350a19a2 100644
--- a/src/core/lib/gprpp/orphanable.h
+++ b/src/core/lib/gprpp/orphanable.h
@@ -84,7 +84,7 @@ class InternallyRefCounted : public Orphanable {
GRPC_ABSTRACT_BASE_CLASS
protected:
- GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
+ GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
// Allow RefCountedPtr<> to access Unref() and IncrementRefCount().
template <typename T>
diff --git a/src/core/lib/gprpp/ref_counted.h b/src/core/lib/gprpp/ref_counted.h
index 392c12a3bd..cab1aaaaab 100644
--- a/src/core/lib/gprpp/ref_counted.h
+++ b/src/core/lib/gprpp/ref_counted.h
@@ -44,7 +44,7 @@ class PolymorphicRefCount {
GRPC_ABSTRACT_BASE_CLASS
protected:
- GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
+ GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
virtual ~PolymorphicRefCount() = default;
};
@@ -57,7 +57,7 @@ class NonPolymorphicRefCount {
GRPC_ABSTRACT_BASE_CLASS
protected:
- GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
+ GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
~NonPolymorphicRefCount() = default;
};
@@ -233,7 +233,7 @@ class RefCounted : public Impl {
GRPC_ABSTRACT_BASE_CLASS
protected:
- GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
+ GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
// TraceFlagT is defined to accept both DebugOnlyTraceFlag and TraceFlag.
// Note: RefCount tracing is only enabled on debug builds, even when a
diff --git a/src/core/lib/iomgr/buffer_list.h b/src/core/lib/iomgr/buffer_list.h
index 8bb271867c..755ce02ba9 100644
--- a/src/core/lib/iomgr/buffer_list.h
+++ b/src/core/lib/iomgr/buffer_list.h
@@ -133,7 +133,7 @@ class TracedBuffer {
grpc_error* shutdown_err);
private:
- GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_NEW
+ GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_NEW
TracedBuffer(uint32_t seq_no, void* arg)
: seq_no_(seq_no), arg_(arg), next_(nullptr) {}
diff --git a/src/core/lib/slice/slice.cc b/src/core/lib/slice/slice.cc
index 3a3edebdc7..566ad94d70 100644
--- a/src/core/lib/slice/slice.cc
+++ b/src/core/lib/slice/slice.cc
@@ -106,7 +106,7 @@ class NewSliceRefcount {
user_destroy_(destroy),
user_data_(user_data) {}
- GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
+ GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
grpc_slice_refcount* base_refcount() { return &rc_; }
@@ -155,7 +155,7 @@ class NewWithLenSliceRefcount {
user_length_(user_length),
user_destroy_(destroy) {}
- GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
+ GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
grpc_slice_refcount* base_refcount() { return &rc_; }