mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 12:07:05 +08:00
Fixed header guards to match style guide conventions.
PiperOrigin-RevId: 471292183 Change-Id: Ic124d671dd3b0ae819f741885abb046cbf7e1add
This commit is contained in:
committed by
Copybara-Service
parent
78f885642a
commit
72ec15a317
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef ABSL_BASE_ATOMIC_HOOK_TEST_HELPER_H_
|
||||
#define ABSL_BASE_ATOMIC_HOOK_TEST_HELPER_H_
|
||||
#ifndef ABSL_BASE_INTERNAL_ATOMIC_HOOK_TEST_HELPER_H_
|
||||
#define ABSL_BASE_INTERNAL_ATOMIC_HOOK_TEST_HELPER_H_
|
||||
|
||||
#include "absl/base/internal/atomic_hook.h"
|
||||
|
||||
@@ -31,4 +31,4 @@ void RegisterFunc(VoidF func);
|
||||
ABSL_NAMESPACE_END
|
||||
} // namespace absl
|
||||
|
||||
#endif // ABSL_BASE_ATOMIC_HOOK_TEST_HELPER_H_
|
||||
#endif // ABSL_BASE_INTERNAL_ATOMIC_HOOK_TEST_HELPER_H_
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef ABSL_BASE_INTERNAL_INLINE_VARIABLE_EMULATION_H_
|
||||
#define ABSL_BASE_INTERNAL_INLINE_VARIABLE_EMULATION_H_
|
||||
#ifndef ABSL_BASE_INTERNAL_INLINE_VARIABLE_H_
|
||||
#define ABSL_BASE_INTERNAL_INLINE_VARIABLE_H_
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
@@ -104,4 +104,4 @@
|
||||
|
||||
#endif // __cpp_inline_variables
|
||||
|
||||
#endif // ABSL_BASE_INTERNAL_INLINE_VARIABLE_EMULATION_H_
|
||||
#endif // ABSL_BASE_INTERNAL_INLINE_VARIABLE_H_
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef ABSL_BASE_INLINE_VARIABLE_TESTING_H_
|
||||
#define ABSL_BASE_INLINE_VARIABLE_TESTING_H_
|
||||
#ifndef ABSL_BASE_INTERNAL_INLINE_VARIABLE_TESTING_H_
|
||||
#define ABSL_BASE_INTERNAL_INLINE_VARIABLE_TESTING_H_
|
||||
|
||||
#include "absl/base/internal/inline_variable.h"
|
||||
|
||||
@@ -43,4 +43,4 @@ const int& get_int_b();
|
||||
ABSL_NAMESPACE_END
|
||||
} // namespace absl
|
||||
|
||||
#endif // ABSL_BASE_INLINE_VARIABLE_TESTING_H_
|
||||
#endif // ABSL_BASE_INTERNAL_INLINE_VARIABLE_TESTING_H_
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef ABSL_CONTAINER_INTERNAL_CONTAINER_H_
|
||||
#define ABSL_CONTAINER_INTERNAL_CONTAINER_H_
|
||||
#ifndef ABSL_CONTAINER_INTERNAL_COMMON_H_
|
||||
#define ABSL_CONTAINER_INTERNAL_COMMON_H_
|
||||
|
||||
#include <cassert>
|
||||
#include <type_traits>
|
||||
@@ -204,4 +204,4 @@ struct InsertReturnType {
|
||||
ABSL_NAMESPACE_END
|
||||
} // namespace absl
|
||||
|
||||
#endif // ABSL_CONTAINER_INTERNAL_CONTAINER_H_
|
||||
#endif // ABSL_CONTAINER_INTERNAL_COMMON_H_
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef ABSL_CONTAINER_INTERNAL_INLINED_VECTOR_INTERNAL_H_
|
||||
#define ABSL_CONTAINER_INTERNAL_INLINED_VECTOR_INTERNAL_H_
|
||||
#ifndef ABSL_CONTAINER_INTERNAL_INLINED_VECTOR_H_
|
||||
#define ABSL_CONTAINER_INTERNAL_INLINED_VECTOR_H_
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
@@ -950,4 +950,4 @@ auto Storage<T, N, A>::Swap(Storage* other_storage_ptr) -> void {
|
||||
ABSL_NAMESPACE_END
|
||||
} // namespace absl
|
||||
|
||||
#endif // ABSL_CONTAINER_INTERNAL_INLINED_VECTOR_INTERNAL_H_
|
||||
#endif // ABSL_CONTAINER_INTERNAL_INLINED_VECTOR_H_
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef ABSL_STRINGS_CORDZ_FUNCTIONS_H_
|
||||
#define ABSL_STRINGS_CORDZ_FUNCTIONS_H_
|
||||
#ifndef ABSL_STRINGS_INTERNAL_CORDZ_FUNCTIONS_H_
|
||||
#define ABSL_STRINGS_INTERNAL_CORDZ_FUNCTIONS_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -82,4 +82,4 @@ inline void cordz_set_next_sample_for_testing(int64_t) {}
|
||||
ABSL_NAMESPACE_END
|
||||
} // namespace absl
|
||||
|
||||
#endif // ABSL_STRINGS_CORDZ_FUNCTIONS_H_
|
||||
#endif // ABSL_STRINGS_INTERNAL_CORDZ_FUNCTIONS_H_
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef ABSL_STRINGS_CORDZ_HANDLE_H_
|
||||
#define ABSL_STRINGS_CORDZ_HANDLE_H_
|
||||
#ifndef ABSL_STRINGS_INTERNAL_CORDZ_HANDLE_H_
|
||||
#define ABSL_STRINGS_INTERNAL_CORDZ_HANDLE_H_
|
||||
|
||||
#include <atomic>
|
||||
#include <vector>
|
||||
@@ -128,4 +128,4 @@ class CordzSnapshot : public CordzHandle {
|
||||
ABSL_NAMESPACE_END
|
||||
} // namespace absl
|
||||
|
||||
#endif // ABSL_STRINGS_CORDZ_HANDLE_H_
|
||||
#endif // ABSL_STRINGS_INTERNAL_CORDZ_HANDLE_H_
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef ABSL_STRINGS_CORDZ_INFO_H_
|
||||
#define ABSL_STRINGS_CORDZ_INFO_H_
|
||||
#ifndef ABSL_STRINGS_INTERNAL_CORDZ_INFO_H_
|
||||
#define ABSL_STRINGS_INTERNAL_CORDZ_INFO_H_
|
||||
|
||||
#include <atomic>
|
||||
#include <cstdint>
|
||||
@@ -295,4 +295,4 @@ inline CordRep* CordzInfo::RefCordRep() const ABSL_LOCKS_EXCLUDED(mutex_) {
|
||||
ABSL_NAMESPACE_END
|
||||
} // namespace absl
|
||||
|
||||
#endif // ABSL_STRINGS_CORDZ_INFO_H_
|
||||
#endif // ABSL_STRINGS_INTERNAL_CORDZ_INFO_H_
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
#include "absl/strings/internal/cordz_handle.h"
|
||||
#include "absl/strings/internal/cordz_info.h"
|
||||
|
||||
#ifndef ABSL_STRINGS_CORDZ_SAMPLE_TOKEN_H_
|
||||
#define ABSL_STRINGS_CORDZ_SAMPLE_TOKEN_H_
|
||||
#ifndef ABSL_STRINGS_INTERNAL_CORDZ_SAMPLE_TOKEN_H_
|
||||
#define ABSL_STRINGS_INTERNAL_CORDZ_SAMPLE_TOKEN_H_
|
||||
|
||||
namespace absl {
|
||||
ABSL_NAMESPACE_BEGIN
|
||||
@@ -94,4 +94,4 @@ class CordzSampleToken : public CordzSnapshot {
|
||||
ABSL_NAMESPACE_END
|
||||
} // namespace absl
|
||||
|
||||
#endif // ABSL_STRINGS_CORDZ_SAMPLE_TOKEN_H_
|
||||
#endif // ABSL_STRINGS_INTERNAL_CORDZ_SAMPLE_TOKEN_H_
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
// separate file to avoid cluttering the top of the API header with
|
||||
// implementation details.
|
||||
|
||||
#ifndef ABSL_TYPES_VARIANT_INTERNAL_H_
|
||||
#define ABSL_TYPES_VARIANT_INTERNAL_H_
|
||||
#ifndef ABSL_TYPES_INTERNAL_VARIANT_H_
|
||||
#define ABSL_TYPES_INTERNAL_VARIANT_H_
|
||||
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
@@ -1643,4 +1643,4 @@ ABSL_NAMESPACE_END
|
||||
} // namespace absl
|
||||
|
||||
#endif // !defined(ABSL_USES_STD_VARIANT)
|
||||
#endif // ABSL_TYPES_VARIANT_INTERNAL_H_
|
||||
#endif // ABSL_TYPES_INTERNAL_VARIANT_H_
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
// Alternate options.h file, used in continuous integration testing to exercise
|
||||
// option settings not used by default.
|
||||
|
||||
#ifndef ABSL_BASE_OPTIONS_H_
|
||||
#define ABSL_BASE_OPTIONS_H_
|
||||
#ifndef ABSL_CI_ABSL_ALTERNATE_OPTIONS_H_
|
||||
#define ABSL_CI_ABSL_ALTERNATE_OPTIONS_H_
|
||||
|
||||
#define ABSL_OPTION_USE_STD_ANY 0
|
||||
#define ABSL_OPTION_USE_STD_OPTIONAL 0
|
||||
@@ -26,4 +26,4 @@
|
||||
#define ABSL_OPTION_INLINE_NAMESPACE_NAME ns
|
||||
#define ABSL_OPTION_HARDENED 1
|
||||
|
||||
#endif // ABSL_BASE_OPTIONS_H_
|
||||
#endif // ABSL_CI_ABSL_ALTERNATE_OPTIONS_H_
|
||||
|
||||
Reference in New Issue
Block a user