aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorYitzhak Mandelbaum <ymand@users.noreply.github.com>2024-08-13 14:03:34 -0400
committerGitHub <noreply@github.com>2024-08-13 14:03:34 -0400
commit661dda9df13c65ce021407bb726b558c7a414731 (patch)
tree1ed43a5b20a6d42763a0d2da95107206418c83be /clang/lib/CodeGen/CodeGenFunction.cpp
parentedded8d7b5cb310524494cca317dd3582234b56f (diff)
downloadllvm-661dda9df13c65ce021407bb726b558c7a414731.zip
llvm-661dda9df13c65ce021407bb726b558c7a414731.tar.gz
llvm-661dda9df13c65ce021407bb726b558c7a414731.tar.bz2
[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>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions