summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorNathan James <n.james93@hotmail.co.uk>2020-01-14 14:05:45 -0500
committerAaron Ballman <aaron@aaronballman.com>2020-01-14 14:06:46 -0500
commit36fcbb838c8f293f46bfed78c6ed8c177f1e3485 (patch)
tree70a4e2a217459d962881306c52cf210fa875ce33 /llvm/lib/CodeGen/MachineScheduler.cpp
parentcd800f3b226b25142f233beca846715fc601809b (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud