catch_impl.hpp 848 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Created by Phil on 5/8/2012.
  3. * Copyright 2012 Two Blue Cubes Ltd. All rights reserved.
  4. *
  5. * Distributed under the Boost Software License, Version 1.0. (See accompanying
  6. * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. */
  8. #ifndef TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED
  9. #define TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED
  10. #ifdef __clang__
  11. #pragma clang diagnostic push
  12. #pragma clang diagnostic ignored "-Wweak-vtables"
  13. #endif
  14. // Keep these here for external reporters
  15. #include "catch_test_spec.h"
  16. #include "catch_test_case_tracker.h"
  17. #include "catch_leak_detector.h"
  18. // Cpp files will be included in the single-header file here
  19. // ~*~* CATCH_CPP_STITCH_PLACE *~*~
  20. namespace Catch {
  21. LeakDetector leakDetector;
  22. }
  23. #ifdef __clang__
  24. #pragma clang diagnostic pop
  25. #endif
  26. #endif // TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED