diff options
author | Matheus Izvekov <mizvekov@gmail.com> | 2025-09-29 03:46:36 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-29 03:46:36 -0300 |
commit | ab5bba580c581be586a23888ab7bbd39fc9ea4b2 (patch) | |
tree | b42289e4810a2f0ab3449651ad5f145d5256f0a0 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 85d48b8fec371fe0979440abaf2d13718fba2ac3 (diff) | |
download | llvm-ab5bba580c581be586a23888ab7bbd39fc9ea4b2.zip llvm-ab5bba580c581be586a23888ab7bbd39fc9ea4b2.tar.gz llvm-ab5bba580c581be586a23888ab7bbd39fc9ea4b2.tar.bz2 |
[clang] fix code synthesis context depth limit logic (#161103)
This makes the instantation depth limit be checked whenever the code
synthesis context is pushed, not only when creating a
InstantiatingTemplate RAII object.
Also fix the note suggesting the user increases `-ftemplate-depth` so it
is printed even in a SFINAE context.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions