Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/unittests/Frontend/OpenACCTest.cpp | ||
---|---|---|
20 | Since this array is never modified, use a plain old array for this, which doesn't need a static constructor: static const Clause allClauses[] = ... | |
67–72 | This fixup doesn't do anything, you can just used the non-fixup versions ('TEST(..)' instead of TEST_F) | |
220 | std::initializer_list is unusual for non-constructors. Use ArrayRef? |
Comment Actions
@Meinersbur Thanks for the review. Just updated the patch.
llvm/unittests/Frontend/OpenACCTest.cpp | ||
---|---|---|
67–72 | Thanks for the tip. |
Comment Actions
LGTM.
Sorry for the wait. Phabricator did not send me notifications for the all the updates. Anyone has an idea why?
Since this array is never modified, use a plain old array for this, which doesn't need a static constructor: