stl-to-nothing.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. # libc & stl common headers should be resolved to either
  2. # * system libc (e.g. nothing in our repo)
  3. # * system libc++ (e.g. nothing in our repo)
  4. # * libcxx
  5. # * musl
  6. # or some combination of them depending on the build flags.
  7. # We want musl to resolve itself without these sysincls, but its test must have them
  8. - source_filter: "^(?!contrib/libs/musl).*|^contrib/libs/musl/tests"
  9. includes:
  10. - complex.h
  11. - ctype.h
  12. - errno.h
  13. - float.h
  14. - inttypes.h
  15. - limits.h
  16. - locale.h
  17. - math.h
  18. - setjmp.h
  19. - stdbool.h
  20. - stddef.h
  21. - stdint.h
  22. - stdio.h
  23. - stdlib.h
  24. - string.h
  25. - tgmath.h
  26. - wchar.h
  27. - wctype.h
  28. - includes:
  29. - __config
  30. - __undef_macros
  31. - algorithm
  32. - any
  33. - array
  34. - atomic
  35. - bit
  36. - bitset
  37. - cassert
  38. - ccomplex
  39. - cctype
  40. - cerrno
  41. - cfenv
  42. - cfloat
  43. - charconv
  44. - chrono
  45. - cinttypes
  46. - ciso646
  47. - climits
  48. - clocale
  49. - cmath
  50. - codecvt
  51. - compare
  52. - complex
  53. - concepts
  54. - condition_variable
  55. - coroutine
  56. - csetjmp
  57. - csignal
  58. - cstdarg
  59. - cstdbool
  60. - cstddef
  61. - cstdint
  62. - cstdio
  63. - cstdlib
  64. - cstring
  65. - ctgmath
  66. - ctime
  67. - cwchar
  68. - cwctype
  69. - cxxabi.h
  70. - deque
  71. - exception
  72. - expected
  73. - filesystem
  74. - forward_list
  75. - fstream
  76. - functional
  77. - future
  78. - initializer_list
  79. - iomanip
  80. - ios
  81. - iosfwd
  82. - iostream
  83. - istream
  84. - iterator
  85. - limits
  86. - list
  87. - locale
  88. - map
  89. - memory
  90. - mutex
  91. - new
  92. - numbers
  93. - numeric
  94. - optional
  95. - ostream
  96. - queue
  97. - random
  98. - ranges
  99. - ratio
  100. - regex
  101. - scoped_allocator
  102. - set
  103. - shared_mutex
  104. - source_location
  105. - span
  106. - sstream
  107. - stack
  108. - stdexcept
  109. - streambuf
  110. - string
  111. - string_view
  112. - strstream
  113. - system_error
  114. - thread
  115. - tuple
  116. - typeindex
  117. - typeinfo
  118. - type_traits
  119. - unordered_map
  120. - unordered_set
  121. - use_ansi.h
  122. - utility
  123. - valarray
  124. - variant
  125. - vector
  126. - version
  127. - unwind.h:
  128. - contrib/libs/libunwind/include/unwind.h
  129. # Though these are headers provided by libcxx, we do not want to allow them to be included.
  130. # We are using non-existent filename to generate error instead, as there is no specific syntax for this case.
  131. - includes:
  132. - ext/hash_map: DO_NOT_INCLUDE_NON_STANDARD_EXT_HASH_MAP
  133. - ext/hash_set: DO_NOT_INCLUDE_NON_STANDARD_EXT_HASH_SET
  134. - experimental/any: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_ANY
  135. - experimental/chrono: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_CHRONO
  136. - experimental/coroutine: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_COROUTINE
  137. - experimental/filesystem: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_FILESYSTEM
  138. - experimental/numeric: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_NUMERIC
  139. - experimental/optional: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_OPTIONAL
  140. - experimental/ratio: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_RATIO
  141. - experimental/source_location: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_SOURCE_LOCATION
  142. - experimental/string_view: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_STRING_VIEW
  143. - experimental/system_error: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_SYSTEM_ERROR
  144. - experimental/tuple: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_TUPLE