================
@@ -231,6 +244,8 @@ static void EmitDirectivesDecl(RecordKeeper &Records, 
raw_ostream &OS) {
   OS << "bool isAllowedClauseForDirective(Directive D, "
      << "Clause C, unsigned Version);\n";
   OS << "\n";
+  OS << "const llvm::SmallVector<Directive> &getLeafConstructs(Directive 
D);\n";
----------------
kparzysz wrote:

That's about input parameters (because then we don't restrict what objects can 
be passed, i.e. converted to an ArrayRef).  For return values it doesn't 
matter, at least from the point of view of interface flexibility.  The static 
constructor issue you pointed out will need this though.

https://github.com/llvm/llvm-project/pull/83625
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to