llvm-project
661dda9d - [clang] Add frontend flag to enable support for broken external resugarers (#103219)

Commit
1 year ago
[clang] Add frontend flag to enable support for broken external resugarers (#103219) Forked from https://github.com/llvm/llvm-project/pull/102510 by [mizvekov](https://github.com/mizvekov). Changes are captured as a fixup commit. There are some external projects that can't rely on our own sugar propagation for templated entities, because they need to resugar types which only exist within their framework, and so are entirely invisible to our internal tooling. This new flag is meant to prevent our transforms from removing any Subst* nodes. For this, this is wired only to template type alias subsititutions. Note that our AST does represent enough information to correctly resugar template type alias, so any users of this are limited in their capacity to reconstruct the parameter substitutions fully. --------- Co-authored-by: Matheus Izvekov <mizvekov@gmail.com>
Author
Parents
Loading