lebedev.ri added inline comments.

================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:6444-6445
+              internal::Matcher<Stmt>, InnerMatcher) {
+  if (isStandaloneDirective().matches(Node, Finder, Builder))
+    return false; // Standalone directives have no structured blocks.
+  return InnerMatcher.matches(*Node.getStructuredBlock(), Finder, Builder);
----------------
aaron.ballman wrote:
> Rather than call the matcher (which is a heavy-handed solution), I'd prefer 
> to just check `Node.isOMPStructuredBlock()` directly.
Hmm, k.


Repository:
  rC Clang

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

https://reviews.llvm.org/D59463



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

Reply via email to