randall commented on a change in pull request #6945:
URL: https://github.com/apache/trafficserver/pull/6945#discussion_r445676761
##########
File path: tests/tools/plugins/test_cppapi.cc
##########
@@ -115,9 +115,20 @@ f()
ALWAYS_ASSERT(c2.asTSCont() != nullptr)
ALWAYS_ASSERT(c2.mutex() == m)
- ALWAYS_ASSERT(!c)
- ALWAYS_ASSERT(c.asTSCont() == nullptr)
- ALWAYS_ASSERT(c.mutex() == nullptr)
+ // NOLINTNEXTLINE
Review comment:
I think clang-analyzer wants pre-processor used to hide/ignore stuff
from it:
eg
```
#if defined(__clang_analyzer__)
...
#endif
```
https://clang-analyzer.llvm.org/faq.html#exclude_code
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]