This allows us efficiently look for more than one attribute, something that is quite common in DWARF consumption.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/trunk/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp | ||
---|---|---|
1530 ↗ | (On Diff #84391) | ArrayRef's constructor receives the initializer as temporary object. Fixed in r292127. |
The idiomatic way is to pass an ArrayRef by value. The const is usually omitted, since we also have a MutableArrayRef.