Open
Description
From review of a PR to Microsoft:
I noticed that
clang/include/clang/3C/ProgramInfo.h
usesstd::map
andclang/lib/3C.cpp
uses
std::vector
. Llvm recommends that: "llvm::DenseMap
should almost always be used instead ofstd::map
or
std::unordered_map
, andllvm::SmallVector
should usually be used instead ofstd::vector
" .
Here are the LLVM guideline and the Programmer's Manual section on data structures.