Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2
diff options
context:
space:
mode:
authorMartin Hořeňovský2019-11-16 17:38:29 +0100
committerMartin Hořeňovský2020-02-13 15:31:09 +0100
commitad3f50bbc1ad66bf9ad5005d1a5f52eb6b28972f (patch)
tree7114749af1b01e5ac6e6947fbcdf2cf1447c16f0 /src/catch2
parent13e01d273ae2cfb5758778bdd459eb166b675912 (diff)
downloadcatch3-ad3f50bbc1ad66bf9ad5005d1a5f52eb6b28972f.tar.gz
Suppress using-namespace lint in GENERATE* macros
Closes #1799
Diffstat (limited to 'src/catch2')
-rw-r--r--src/catch2/catch_generators.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/catch2/catch_generators.hpp b/src/catch2/catch_generators.hpp
index 40edc9bb..de0b354d 100644
--- a/src/catch2/catch_generators.hpp
+++ b/src/catch2/catch_generators.hpp
@@ -196,10 +196,10 @@ namespace Generators {
} // namespace Catch
#define GENERATE( ... ) \
- Catch::Generators::generate( CATCH_INTERNAL_LINEINFO, [ ]{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } )
+ Catch::Generators::generate( CATCH_INTERNAL_LINEINFO, [ ]{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } ) //NOLINT(google-build-using-namespace)
#define GENERATE_COPY( ... ) \
- Catch::Generators::generate( CATCH_INTERNAL_LINEINFO, [=]{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } )
+ Catch::Generators::generate( CATCH_INTERNAL_LINEINFO, [=]{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } ) //NOLINT(google-build-using-namespace)
#define GENERATE_REF( ... ) \
- Catch::Generators::generate( CATCH_INTERNAL_LINEINFO, [&]{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } )
+ Catch::Generators::generate( CATCH_INTERNAL_LINEINFO, [&]{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } ) //NOLINT(google-build-using-namespace)
#endif // TWOBLUECUBES_CATCH_GENERATORS_HPP_INCLUDED