Disable inspection on statement or method level?
Is there a way to disable inspections (code analysis) at statement or method level? This could be useful for reducing the number of warnings caused by code containing constructs not supported yet or the ones generating false positives. For example this code:
template<class T>
typename std::enable_if<std::is_floating_point<T>::value, void>::type
foo(T t)
{
std::cout << "foo: float" << std::endl;
}
generates a warning for missing return statement.
Please sign in to leave a comment.
Hi Vasile Ion,
Thank you for feedback, unfortunatly it's impossible in the ReSharper C++ 1.0
I've created two feature requets and we'll fixed it asap
https://youtrack.jetbrains.com/issue/RSCPP-13756
https://youtrack.jetbrains.com/issue/RSCPP-13755