We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3e7a12 commit b8ff08dCopy full SHA for b8ff08d
llvm/lib/Frontend/OpenMP/OMP.cpp
@@ -29,7 +29,7 @@ namespace llvm::omp {
29
ArrayRef<Directive> getLeafConstructs(Directive D) {
30
auto Idx = static_cast<std::size_t>(D);
31
if (Idx >= Directive_enumSize)
32
- std::nullopt;
+ return std::nullopt;
33
const auto *Row = LeafConstructTable[LeafConstructTableOrdering[Idx]];
34
return ArrayRef(&Row[2], static_cast<int>(Row[1]));
35
}
0 commit comments