[PATCH] D112175: [NFC] Add llvm::StaticVector ADT

James Player via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 21 15:53:38 PDT 2021


jplayer-nv updated this revision to Diff 381414.
jplayer-nv added a comment.
Herald added subscribers: pengfei, hiraditya.

- Define the MSVC visualizer for StaticVector.
- Bind StaticVector a simple yaml sequence.
- Change StaticVector::Capacity to an enum to make it available from the visualizer.
- Substitute some SmallVectors which never grow beyond inline storage.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112175/new/

https://reviews.llvm.org/D112175

Files:
  llvm/include/llvm/ADT/STLExtras.h
  llvm/include/llvm/ADT/STLForwardCompat.h
  llvm/include/llvm/ADT/StaticVector.h
  llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h
  llvm/include/llvm/Support/YAMLTraits.h
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/unittests/ADT/CMakeLists.txt
  llvm/unittests/ADT/StaticVectorTest.cpp
  llvm/utils/LLVMVisualizers/llvm.natvis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112175.381414.patch
Type: text/x-patch
Size: 106524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211021/904e2580/attachment-0001.bin>


More information about the llvm-commits mailing list