aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-07-10 16:39:15 +0100
committerFlorian Hahn <flo@fhahn.com>2020-07-10 16:39:15 +0100
commitec00aa99dd4cd46c328219cffefcfdf8a8bd53a0 (patch)
treed640a04c057589f6bc35b11e6adc7a800581c1e3 /clang/lib/Frontend/CompilerInvocation.cpp
parenteb5c7f6b8fe0e66bbbc2aa23cc899fa11b750030 (diff)
downloadllvm-ec00aa99dd4cd46c328219cffefcfdf8a8bd53a0.zip
llvm-ec00aa99dd4cd46c328219cffefcfdf8a8bd53a0.tar.gz
llvm-ec00aa99dd4cd46c328219cffefcfdf8a8bd53a0.tar.bz2
[DomTreeUpdater] Use const auto * when iterating over pointers (NFC).
This silences the warning below: llvm-project/llvm/lib/Analysis/DomTreeUpdater.cpp:510:20: warning: loop variable 'BB' is always a copy because the range of type 'const SmallPtrSet<llvm::BasicBlock *, 8>' does not return a reference [-Wrange-loop-analysis] for (const auto &BB : DeletedBBs) { ^ llvm-project/llvm/lib/Analysis/DomTreeUpdater.cpp:510:8: note: use non-reference type 'llvm::BasicBlock *' for (const auto &BB : DeletedBBs) { ^~~~~~~~~~~~~~~~ 1 warning generated.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions