[PATCH] D122079: [ADT] Add Enum matcher
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 20 05:58:58 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/include/llvm/ADT/EnumMatcher.h:1
+#ifndef LLVM_ADT_ENUMMATCHER_H
+#define LLVM_ADT_ENUMMATCHER_H
----------------
Missing license header
================
Comment at: llvm/unittests/ADT/EnumMatcherTests.cpp:28
+ bool Val = isInEnumSet<Doggos, Woofer, SubWoofer>(Woofer);
+ ASSERT_TRUE(Val);
+ }
----------------
EXPECT_TRUE
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122079/new/
https://reviews.llvm.org/D122079
More information about the llvm-commits
mailing list