Details
Details
- Reviewers
dblaikie
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 29451 Build 29450: arc lint + arc unit
Event Timeline
llvm/include/llvm/MC/MCContext.h | ||
---|---|---|
528 | This doesn't immediately make sense to me - 'find' probably (I haven't double checked the type of MCDwarfLineTablesCUMap to confirm this, but find on most containers works this way) returns an iterator by value. Binding that to a reference is a bit surprising/confusing/unnecessary (& relies on reference lifetime extension - a rarely used/subtle feature) So probably don't make this change. | |
llvm/lib/MC/MCAsmStreamer.cpp | ||
1914 | Seems reasonable |
This doesn't immediately make sense to me - 'find' probably (I haven't double checked the type of MCDwarfLineTablesCUMap to confirm this, but find on most containers works this way) returns an iterator by value. Binding that to a reference is a bit surprising/confusing/unnecessary (& relies on reference lifetime extension - a rarely used/subtle feature)
So probably don't make this change.