doru1004 marked an inline comment as done.
doru1004 added inline comments.

================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:2683
+        
OMPDeclareTargetDeclAttr::getDeviceType(VariantFD->getMostRecentDecl());
+    if (!DevTy || *DevTy == OMPDeclareTargetDeclAttr::DT_Host)
+      return true;
----------------
ABataev wrote:
> Do you have a test for `!DevTy` case? Maybe I'm missing it.
Yes it was the first test I added. The second one tests the second part of the 
condition.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140155/new/

https://reviews.llvm.org/D140155

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to