Skip to content

Instantly share code, notes, and snippets.

# Based on: https://raw.githubusercontent.com/googleapis/google-cloud-cpp/refs/heads/main/.clang-format
# Retrieved: October 27, 2025
# Use the Google style in this project.
BasedOnStyle: Google
# Some folks prefer to write "int& foo" while others prefer "int &foo". The
# Google Style Guide only asks for consistency within a project, we chose
# "int& foo" for this project:
DerivePointerAlignment: false
---
# Based on: https://raw.githubusercontent.com/googleapis/google-cloud-cpp/refs/heads/main/.clang-tidy
# Retrieved: October 27, 2025
#
# Configure clang-tidy for this project.
#
# Here is an explanation for why some of the checks are disabled:
#
# -google-readability-namespace-comments: the *_CLIENT_NS is a macro, and
# clang-tidy fails to match it against the initial value.