Sign in
◑
Theme
chromium
/
chromium
/
src.git
/
HEAD
/
.
/
agents
/
knowledge_base
/
rules
/
general
/
cpp_modern_idioms
tree: ac227a0ac48e5601617c59859743c2cf10930873 [
search
]
assert-associative-container-insertion-success.md
assert-state-preconditions-before-transitions.md
avoid-auto-with-checked-numeric-arithmetic.md
avoid-conditional-phrasing-for-unconditional-operations.md
avoid-dead-fallback-branches-under-is-apple.md
avoid-magic-numbers-use-named-constants.md
avoid-move-and-swap-in-move-assignment.md
avoid-redundant-check-before-optional-value.md
avoid-redundant-clamping.md
avoid-redundant-closure-cancellation.md
avoid-redundant-com-out-param-initialization.md
avoid-redundant-concept-return-type-constraints.md
avoid-redundant-condition-evaluation.md
avoid-redundant-directory-prefixes-in-filenames.md
avoid-redundant-empty-check-before-default-return.md
avoid-redundant-guard-before-loop.md
avoid-redundant-in-loop-updates.md
avoid-redundant-member-reload-after-store.md
avoid-redundant-non-const-overloads.md
avoid-redundant-span-for-array-indexing.md
avoid-redundant-string-view-when-filepath-available.md
avoid-redundant-variable-before-return.md
avoid-reusing-comptr-across-sequential-calls.md
avoid-synchronous-apis-for-blocking-io.md
avoid-unnecessary-single-use-member-variables.md
avoid-wrapping-local-pointers-in-optional-ref.md
bind-reference-via-ternary-to-avoid-branch-duplication.md
colocate-feature-params-with-parent-feature.md
COMMON_METADATA
conditionally-include-headers-for-platform-guarded-code.md
consistent-namespace-qualification-within-scope.md
consistently-name-sibling-helpers-sharing-side-effects.md
consistently-suffix-posted-task-methods.md
const-auto-for-flag-combinations.md
const-for-immutable-member-variables.md
const-for-unmodified-local-variables.md
constrain-range-template-parameters-with-std-ranges-concepts.md
declare-inline-methods-constexpr-on-value-classes.md
define-duration-constants-as-time-delta.md
delete-empty-files-from-repository.md
delete-unsupported-operations-in-public-section.md
do-not-define-or-undef-reserved-identifiers.md
factor-repeated-preprocessor-conditionals-into-helpers.md
group-related-function-overloads-together.md
group-related-member-variables-in-structs-and-classes.md
group-related-preprocessor-conditions-in-ladders.md
include-attribute-in-getters-returning-dimensions.md
initialize-variant-in-member-initializer-list.md
internal-namespace-for-header-helpers.md
iterate-scalar-types-by-value-in-range-for.md
keep-internal-helper-methods-private.md
keep-is-constant-evaluated-in-compound-expressions.md
manage-raii-guard-lifetime-via-block-scoping.md
mark-non-returning-functions-with-noreturn.md
match-call-site-cast-to-parameter-type.md
match-definition-order-in-cc-to-header-declaration-order.md
match-internal-helper-names-to-public-interfaces.md
nest-class-specific-types-and-enums.md
no-finch-in-client-side-identifiers.md
no-icu-unicodestring-for-8bit-string-manipulation.md
no-implicit-coercion-in-ctad-deduction-guides.md
no-redundant-base-span-wrapping.md
no-redundant-is-enabled-before-feature-param-get.md
no-redundant-null-check-after-early-exit.md
no-redundant-size-check-with-std-ranges-equal.md
no-redundant-static-cast-on-safe-conversions.md
omit-redundant-default-arguments-in-forwarding-calls.md
omit-redundant-page-alignment-in-madvise-length.md
omit-redundant-suffixes-on-boolean-variables.md
omit-redundant-type-qualification-on-unscoped-enums.md
omit-scratch-and-generator-output-files.md
order-macos-shortcut-modifiers.md
pass-null-or-empty-view-to-end-iterators.md
pass-once-callback-by-value-when-transferring-ownership.md
pass-target-com-interface-directly-to-cocreateinstance.md
place-file-local-types-and-constants-at-top-of-tu.md
prefer-as-string-over-to-string-for-string-views.md
prefer-as-string-view-for-jarray-view.md
prefer-base-enum-set-over-raw-bitmasks.md
prefer-base-nullcallback-over-bare-braces.md
prefer-base-strcat-over-chained-plus-operator.md
prefer-buildflag-over-raw-preprocessor-defines.md
prefer-byte-span-from-ref-over-unsafe-reinterpret-cast.md
prefer-channel-unknown-over-channel-default.md
prefer-checked-cast-over-bytesizedelta-for-bytesize.md
prefer-ctad-over-factory-helpers.md
prefer-designated-initializers-for-aggregate-structs.md
prefer-direct-member-access-over-trivial-getters.md
prefer-direct-member-assignment-over-pointer-cast.md
prefer-distinct-members-over-boolean-indexed-arrays.md
prefer-early-return-on-failure.md
prefer-empty-braces-over-zero-initializer.md
prefer-explicit-empty-string-literals-over-bare-braces.md
prefer-from-range-for-container-construction.md
prefer-function-style-cast-for-class-types.md
prefer-if-over-ternary-for-side-effects.md
prefer-positive-iterator-presence-check-in-if-init.md
prefer-raii-over-raw-new-and-delete-array.md
prefer-ranges-for-each-over-transform-for-in-place-modificat.md
prefer-ranges-rbegin-over-legacy-rbegin-in-adapters.md
prefer-replacefile-over-move-for-temp-files.md
prefer-requires-clauses-over-static-assert.md
prefer-reset-over-nullopt-assignment-for-optional.md
prefer-span-split-at-over-first-and-subspan.md
prefer-standard-string-view-aliases-over-basic-string-view.md
prefer-string-view-over-const-string-ref-for-read-only-param.md
prefer-string-view-over-span-for-character-sequences.md
prefer-strong-alias-over-primitive-types-for-tokens.md
prefer-subspan-or-substr-over-unsafe-buffers-pointer-arithme.md
prefer-switch-over-chained-if-else.md
prefer-ternary-for-optional-callback-transformation.md
prefer-ternary-over-disjunctive-conjunctions.md
prefer-unified-cross-platform-implementation.md
prefer-unsafe-buffers-over-convoluted-subspans-at-c-api-boun.md
prefer-value-initialization-to-zero-structs.md
prefer-vector-over-heap-array-for-dynamic-byte-buffers.md
provide-descriptive-messages-in-static-asserts.md
query-error-details-on-base-file-instances.md
remove-dead-parameters-during-refactoring.md
renumber-or-document-gaps-in-bitmasks-and-enums.md
require-explicit-architecture-checks-with-error-fallback.md
require-uint8-for-byte-span-apis.md
return-default-constructed-object-on-error.md
return-result-enum-for-multi-outcome-operations.md
reuse-cached-local-variable-for-repeated-accessors.md
reuse-existing-local-span-variable.md
scope-lint-ifchange-to-target-definition.md
scope-unsafe-buffer-macros-inside-assertions.md
update-variable-names-on-type-refactoring.md
use-assign-or-return-for-expected-and-optional.md
use-chromium-buildflag-outside-partitionalloc.md
use-decltype-auto-for-generic-range-accessor-return-types.md
use-direct-arch-cpu-macros.md
use-emplace-back-return-value-instead-of-back.md
use-helper-return-value-instead-of-recalculating-length.md
use-hresult-from-win32-for-system-errors.md
use-int64-for-profiler-metadata.md
use-kmax-only-for-inclusive-upper-bounds.md
use-native-environment-string-aliases.md
use-notify-allow-reentrancy-only-on-disallowed-reentrancy-li.md
use-passkey-to-restrict-method-access.md
use-platform-thread-sleep-instead-of-platform-apis.md
use-std-exchange-to-extract-and-reset-containers.md
use-std-move-over-std-forward-for-local-variables.md
use-two-step-adl-swap-idiom.md
use-underscore-for-unused-structured-bindings.md
use-validated-constexpr-constant-as-loop-bound.md
verify-precomputed-derived-values-with-dcheck.md
when-separating-public-and-internal-interfaces-reserve-canon.md