HomePhabricator

Added readability-qualified-auto check

Authored by njames93 on Tue, Jan 14, 11:05 AM.

Description

Added readability-qualified-auto check

Adds a check that detects any auto variables that are deduced to a pointer or
a const pointer then adds in the const and asterisk according. Will also
check auto L value references that could be written as const. This relates
to the coding standard
https://llvm.org/docs/CodingStandards.html#beware-unnecessary-copies-with-auto

Details

Committed
aaron.ballmanTue, Jan 14, 11:06 AM
Parents
rGcd800f3b226b: [RISCV] Allow shrink wrapping for RISC-V
Branches
Unknown
Tags
Unknown