[PATCH] D79921: [OPENMP] Fix mixture of omp and clang pragmas
    Alexey Bataev via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Tue May 19 04:49:38 PDT 2020
    
    
  
ABataev added inline comments.
================
Comment at: clang/lib/CodeGen/CGStmtOpenMP.cpp:1735
+  // If attributes are attached, push to the basic block with them.
+  const OMPExecutableDirective *OMPED = dyn_cast<OMPExecutableDirective>(&S);
+  const CapturedStmt *ICS = OMPED->getInnermostCapturedStmt();
----------------
`const auto &OMPED = cast<OMPExecutableDirective>(S);`
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79921/new/
https://reviews.llvm.org/D79921
    
    
More information about the cfe-commits
mailing list