================ @@ -294,6 +294,11 @@ std::string complexRangeKindToStr(LangOptions::ComplexRangeKind Range); // Render a frontend option corresponding to ComplexRangeKind. std::string renderComplexRangeOption(LangOptions::ComplexRangeKind Range); +// Set the complex range and output a warning as needed. +void setComplexRange(const Driver &D, StringRef &LastOpt, ---------------- tarunprabhu wrote:
Could we have this return values instead of using out parameters? Is it possible to return a pair and destructure it in the caller? If not, the out parameters should be the last non-optional parameters. https://github.com/llvm/llvm-project/pull/159689 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
