This patch adds parsing + sema for the defaultmap clause associated with the target directive (among others).
Details
Diff Detail
Event Timeline
include/clang/AST/OpenMPClause.h | ||
---|---|---|
3408–3409 | Why these are not initialized in initializer list, along with Kind, KindLoc etc.? | |
3417 | Also, initialize this one in initializer list | |
lib/AST/StmtPrinter.cpp | ||
925 | I don't think that this check is required. According to defaultmap() syntax Modifier must be set, so I don't think it is allowed to have 'unknown' value here. I mean, output modifier and ':' unconditionally. | |
lib/Sema/SemaOpenMP.cpp | ||
8807 | I think for modifier Diag shall accept MLoc, not KindLoc | |
lib/Sema/TreeTransform.h | ||
7942–7945 | I don't think you need to rebuild anything here, you can just return C. This new clause does not contain any possibly dependent members. |
Why these are not initialized in initializer list, along with Kind, KindLoc etc.?