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.
2 parents 483c414 + a952ea3 commit 206c128Copy full SHA for 206c128
clang/tools/sotoc/src/Visitors.cpp
@@ -197,6 +197,11 @@ void FindTargetCodeVisitor::addTargetRegionArgs(
197
for (const auto i : *FindLoopVisitor.getVarSet()) {
198
DEBUGP("Iterating var set");
199
// i->print(llvm::outs());
200
+ if (Context.getSourceManager().isBeforeInTranslationUnit(
201
+ S->getBeginLoc(),i->getSourceRange().getBegin())) {
202
+ tmpSet.insert(i);
203
+ continue;
204
+ }
205
for (auto j : *TCR->getOMPClauses()) {
206
for (auto CC : j->children()) {
207
if (auto CC_DeclRefExpr =
clang/tools/sotoc/test/arrays/a.out
-811 KB
0 commit comments