reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/ImmutableList.h
   90     iterator(ImmutableList l) : L(l.getInternalPointer()) {}
  100     ImmutableList getList() const { return L; }
  127   bool isEqual(const ImmutableList& L) const { return X == L.X; }
  129   bool operator==(const ImmutableList& L) const { return isEqual(L); }
  139   ImmutableList getTail() const {
  176   LLVM_NODISCARD ImmutableList<T> concat(ElemT &&Head, ImmutableList<T> Tail) {
  176   LLVM_NODISCARD ImmutableList<T> concat(ElemT &&Head, ImmutableList<T> Tail) {
  199   LLVM_NODISCARD ImmutableList<T> add(ElemT &&Data, ImmutableList<T> L) {
  199   LLVM_NODISCARD ImmutableList<T> add(ElemT &&Data, ImmutableList<T> L) {
  204   LLVM_NODISCARD ImmutableList<T> emplace(ImmutableList<T> Tail,
  204   LLVM_NODISCARD ImmutableList<T> emplace(ImmutableList<T> Tail,
  209   ImmutableList<T> getEmptyList() const {
  210     return ImmutableList<T>(nullptr);
  214   ImmutableList<T> create(ElemT &&Data) {
  224 template<typename T> struct DenseMapInfo<ImmutableList<T>> {
  225   static inline ImmutableList<T> getEmptyKey() {
  229   static inline ImmutableList<T> getTombstoneKey() {
  233   static unsigned getHashValue(ImmutableList<T> X) {
  239   static bool isEqual(ImmutableList<T> X1, ImmutableList<T> X2) {
  239   static bool isEqual(ImmutableList<T> X1, ImmutableList<T> X2) {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h
   43   llvm::ImmutableList<SVal> L;
   46   CompoundValData(QualType t, llvm::ImmutableList<SVal> l) : T(t), L(l) {
   50   using iterator = llvm::ImmutableList<SVal>::iterator;
   56                       llvm::ImmutableList<SVal> L);
   83   llvm::ImmutableList<const CXXBaseSpecifier *> L;
   87                       llvm::ImmutableList<const CXXBaseSpecifier *> L)
   90   using iterator = llvm::ImmutableList<const CXXBaseSpecifier *>::iterator;
   96                       llvm::ImmutableList<const CXXBaseSpecifier *> L);
  101   llvm::ImmutableList<const CXXBaseSpecifier *> getCXXBaseList() const {
  117   llvm::ImmutableList<SVal>::Factory SValListFactory;
  118   llvm::ImmutableList<const CXXBaseSpecifier *>::Factory CXXBaseListFactory;
  222                                             llvm::ImmutableList<SVal> Vals);
  229       llvm::ImmutableList<const CXXBaseSpecifier *> L);
  231   llvm::ImmutableList<SVal> getEmptySValList() {
  235   llvm::ImmutableList<SVal> prependSVal(SVal X, llvm::ImmutableList<SVal> L) {
  235   llvm::ImmutableList<SVal> prependSVal(SVal X, llvm::ImmutableList<SVal> L) {
  239   llvm::ImmutableList<const CXXBaseSpecifier *> getEmptyCXXBaseList() {
  243   llvm::ImmutableList<const CXXBaseSpecifier *> prependCXXBase(
  245       llvm::ImmutableList<const CXXBaseSpecifier *> L) {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h
  235   struct ProgramStatePartialTrait<llvm::ImmutableList<T>> {
  236     using data_type = llvm::ImmutableList<T>;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
  250   NonLoc makeCompoundVal(QualType type, llvm::ImmutableList<SVal> vals) {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
  467   using iterator = llvm::ImmutableList<SVal>::iterator;
  544   using iterator = llvm::ImmutableList<const CXXBaseSpecifier *>::iterator;
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObject.h
  162   using FieldChain = llvm::ImmutableList<const FieldNode &>;
tools/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp
   32                               llvm::ImmutableList<SVal> L) {
   46     llvm::ImmutableList<const CXXBaseSpecifier *> L) {
  126                                       llvm::ImmutableList<SVal> Vals) {
  162     const DeclaratorDecl *DD, llvm::ImmutableList<const CXXBaseSpecifier *> L) {
  184   llvm::ImmutableList<const CXXBaseSpecifier *> PathList;
tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
  745     llvm::ImmutableList<SVal> vals = getBasicVals().getEmptySValList();
unittests/ADT/ImmutableListTest.cpp
   28 void concat(const ImmutableList<Wrapper<char>> &L, char *Buffer) {
   30   for (ImmutableList<Wrapper<char>>::iterator It = L.begin(), End = L.end();
   38   ImmutableList<Wrapper<int>>::Factory f;
   44   ImmutableList<Wrapper<int>> L = f.getEmptyList();
   51   ImmutableList<Wrapper<int>>::Factory f;
   52   ImmutableList<Wrapper<int>> L = f.getEmptyList();
   54   ImmutableList<Wrapper<int>> L2 = f.add(3, L);
   70   ImmutableList<Wrapper<int>> L3 = f.add(2, L);
  101   ImmutableList<const Unmodifiable &>::Factory f;
  104   ImmutableList<const Unmodifiable &> L = f.create(N);
  105   for (ImmutableList<const Unmodifiable &>::iterator It = L.begin(),
  113   ImmutableList<Wrapper<int>>::Factory f;
  115   ImmutableList<Wrapper<int>> L = f.getEmptyList();
  116   ImmutableList<Wrapper<int>> L2 = f.create(3);
  126   ImmutableList<Wrapper<int>>::Factory f;
  128   ImmutableList<Wrapper<int>> L = f.getEmptyList();
  129   ImmutableList<Wrapper<int>> L2 = f.add(5, f.add(4, f.add(3, L)));
  130   ImmutableList<Wrapper<int>> L3 = f.add(43, f.add(20, f.add(9, L2)));
  131   ImmutableList<Wrapper<int>> L4 = f.add(9, L2);
  132   ImmutableList<Wrapper<int>> L5 = f.add(9, L2);
  192   ImmutableList<ExplicitCtorWrapper<int>>::Factory f;
  194   ImmutableList<ExplicitCtorWrapper<int>> L = f.getEmptyList();
  195   ImmutableList<ExplicitCtorWrapper<int>> L2 = f.emplace(L, 3);
  197   ImmutableList<ExplicitCtorWrapper<int>> L3 =
  200   ImmutableList<ExplicitCtorWrapper<int>> L4 =
  203   ImmutableList<ExplicitCtorWrapper<int>> L5 =
  226   ImmutableList<Wrapper<char>>::Factory f;
  227   ImmutableList<Wrapper<char>> L = f.getEmptyList();
  229   ImmutableList<Wrapper<char>> L2 = f.add('i', f.add('e', f.add('a', L)));
  230   ImmutableList<Wrapper<char>> L3 = f.add('u', f.add('o', L2));
  239   ImmutableList<Wrapper<long>>::Factory f;
  240   ImmutableList<Wrapper<long>> L = f.getEmptyList();
  242   ImmutableList<Wrapper<long>> L2 = f.add(3, f.add(4, f.add(5, L)));
  243   ImmutableList<Wrapper<long>> L3 = f.add(0, f.add(1, f.add(2, L2)));
  246   for (ImmutableList<Wrapper<long>>::iterator I = L.begin(), E = L.end();
  254   for (ImmutableList<Wrapper<long>>::iterator I = L2.begin(), E = L2.end();
  262   for (ImmutableList<Wrapper<long>>::iterator I = L3.begin(), E = L3.end();
  270 static_assert(is_trivially_copyable<ImmutableList<Wrapper<long>>>::value,