aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorGeorgii Rymar <grimar@accesssoftek.com>2020-11-26 10:22:29 +0300
committerGeorgii Rymar <grimar@accesssoftek.com>2020-11-26 10:24:24 +0300
commitc3673ea65df576535c85397dfe36624bd09fe47b (patch)
treed720393dabd523d7a3122b09c56bb642b22e455c /clang/lib/Frontend/CompilerInvocation.cpp
parent14f2ad0e3cc54d5eb254b545a469e8ffdb62b119 (diff)
downloadllvm-c3673ea65df576535c85397dfe36624bd09fe47b.zip
llvm-c3673ea65df576535c85397dfe36624bd09fe47b.tar.gz
llvm-c3673ea65df576535c85397dfe36624bd09fe47b.tar.bz2
[llvm-readobj] - Fix a warning.
This addresses post review comment for D92018. The warning was: ``` error: loop variable 'Note' is always a copy because the range of type 'iterator_range<llvm::object::ELFFile<llvm::object::ELFType<llvm::support::big, true> >::Elf_Note_Iterator>' (aka 'iterator_range<Elf_Note_Iterator_Impl<ELFType<(llvm::support::endianness)0U, true> > >') does not return a reference [-Werror,-Wrange-loop-analysis] for (const typename ELFT::Note &Note : Obj.notes(S, Err)) ```
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions