diff options
author | Nathan James <n.james93@hotmail.co.uk> | 2020-01-14 14:05:45 -0500 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2020-01-14 14:06:46 -0500 |
commit | 36fcbb838c8f293f46bfed78c6ed8c177f1e3485 (patch) | |
tree | 70a4e2a217459d962881306c52cf210fa875ce33 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | cd800f3b226b25142f233beca846715fc601809b (diff) | |
download | bcm5719-llvm-36fcbb838c8f293f46bfed78c6ed8c177f1e3485.tar.gz bcm5719-llvm-36fcbb838c8f293f46bfed78c6ed8c177f1e3485.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions