rnk added subscribers: rjmccall, rsmith.
rnk added a comment.

+@rsmith @rjmccall 
For more meaningful feedback on the code structure.



================
Comment at: clang/include/clang/Sema/Sema.h:671-672
 
+  /// All the external declarations encoutered and used in the TU.
+  SmallVector<VarDecl *, 4> ExternalDeclarations;
+
----------------
This name seems a bit vague. This is a member of Sema, essentially a global 
variable, for this very corner-case feature (BPF). I'm not convinced that you 
couldn't have done this without changing Sema.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71818



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

Reply via email to