treewide: Add NOLINT where needed to make clang-tidy happy
These are not real bugs, clang-tidy doesn't understand how we are
preventing UB.
Change-Id: I4305ab0b59aae07151d5978ba8642bece076139f
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/pinned.cpp b/test/pinned.cpp
index dd83375..88c9bef 100644
--- a/test/pinned.cpp
+++ b/test/pinned.cpp
@@ -39,6 +39,7 @@
TEST(Pinned, Fundamental)
{
Pinned pi = 4;
+ // NOLINTNEXTLINE(clang-analyzer-core.uninitialized.UndefReturn)
EXPECT_EQ(4, [](int& f) { return f; }(pi));
EXPECT_EQ(4, [](int f) { return f; }(pi));
}