1 // Protocol Buffers - Google's data interchange format 2 // Copyright 2023 Google Inc. All rights reserved. 3 // 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file or at 6 // https://developers.google.com/open-source/licenses/bsd 7 #ifndef GOOGLE_PROTOBUF_INTERNAL_VISIBILITY_FOR_TESTING_H__ 8 #define GOOGLE_PROTOBUF_INTERNAL_VISIBILITY_FOR_TESTING_H__ 9 10 #include "google/protobuf/internal_visibility.h" 11 12 namespace google { 13 namespace protobuf { 14 namespace internal { 15 16 class InternalVisibilityForTesting { 17 public: InternalVisibility()18 operator InternalVisibility() const { // NOLINT 19 return InternalVisibility{}; 20 } 21 }; 22 23 } // namespace internal 24 } // namespace protobuf 25 } // namespace google 26 27 #endif // GOOGLE_PROTOBUF_INTERNAL_VISIBILITY_FOR_TESTING_H__ 28