.iwyu.imp 1.5 KB

12345678910111213141516171819202122232425262728293031
  1. # Copyright The OpenTelemetry Authors
  2. # SPDX-License-Identifier: Apache-2.0
  3. # include-what-you-use mapping file
  4. [
  5. # Work around for C++ STL
  6. { "include": ["<bits/chrono.h>", "private", "<chrono>", "public"] },
  7. { "include": ["<bits/std_abs.h>", "private", "<cstdlib>", "public"] },
  8. { "include": ["<ext/alloc_traits.h>", "private", "<memory>", "public"] },
  9. { "include": ["<bits/types/struct_tm.h>", "private", "<time.h>", "public"] },
  10. { "include": ["<bits/types/struct_FILE.h>", "private", "<stdio.h>", "public"] },
  11. # Local opentelemetry-cpp style
  12. # We prefer to include <gtest/gtest.h> for simplicity
  13. { "include": ["<gtest/gtest-message.h>", "private", "<gtest/gtest.h>", "public"] },
  14. { "include": ["<gtest/gtest-test-part.h>", "private", "<gtest/gtest.h>", "public"] },
  15. { "include": ["<gtest/gtest-param-test.h>", "private", "<gtest/gtest.h>", "public"] },
  16. { "include": ["<gtest/gtest_pred_impl.h>", "private", "<gtest/gtest.h>", "public"] },
  17. { "include": ["<gtest/gtest-typed-test.h>", "private", "<gtest/gtest.h>", "public"] },
  18. { "include": ["<gtest/gtest-assertion-result.h>", "private", "<gtest/gtest.h>", "public"] },
  19. # We prefer to include <gmock/gmock.h> for simplicity
  20. { "include": ["<gmock/gmock-function-mocker.h>", "private", "<gmock/gmock.h>", "public"] },
  21. { "include": ["<gmock/gmock-spec-builders.h>", "private", "<gmock/gmock.h>", "public"] },
  22. # We prefer to include <curl/curl.h> for simplicity
  23. { "include": ["<curl/system.h>", "private", "<curl/curl.h>", "public"] },
  24. ]