[PATCH] D30639: [clang-tidy] Ignore substituted template types in modernize-use-nullptr check.
Gábor Horváth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 6 04:47:52 PST 2017
xazax.hun added inline comments.
================
Comment at: test/clang-tidy/modernize-use-nullptr.cpp:252
+ public:
+ explicit TemplateClass(int a, T default_value = 0) {}
+};
----------------
It might be great to have a test case for:
```
template<typename T>
class TemplateClass {
public:
explicit TemplateClass(int a, T *default_value = 0) {}
```
https://reviews.llvm.org/D30639
More information about the cfe-commits
mailing list